You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
M1 Pro Mac running Sequoia 15.0.1
using a clean Homebrew install and a clean Xcode install.
$ clang --version
Apple clang version 16.0.0 (clang-1600.0.26.3)
Target: arm64-apple-darwin24.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ brew --version
Homebrew 4.4.0
$ echo $OpenMP_ROOT
/opt/homebrew/opt/libomp
$ ls $OpenMP_ROOT
INSTALL_RECEIPT.json
include
lib
sbom.spdx.json
1. What were you trying to do?
build vg from source on an M1 Pro (Apple Silicon) running Sequoia 15.0.1
2. What did you want to happen?
successful build of the vg executable
3. What actually happened?
build ultimately fails with what seems like a problem linking in libomp while building gbwt:
$tail build.log
gbwt::MergeBuffers::write(gbwt::GapArray<gbwt::BlockArray>&) in libgbwt.a[3](bwtmerge.o)
gbwt::DynamicGBWT::remove(std::__1::vector<unsigned long long, std::__1::allocator<unsigned long long>> const&, unsigned long long) (.omp_outlined) in libgbwt.a[5](dynamic_gbwt.o)
gbwt::buildRA(gbwt::DynamicGBWT const&, gbwt::DynamicGBWT const&, gbwt::MergeBuffers&) (.omp_outlined) in libgbwt.a[5](dynamic_gbwt.o)
"_omp_get_wtime", referenced from:
gbwt::readTimer() in libgbwt.a[13](utils.o)
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [bin/build_gbwt] Error 1
rm obj/build_gbwt.o
make: *** [lib/libgbwt.a] Error 2
``
**4. If you got a line like `Stack trace path: /somewhere/on/your/computer/stacktrace.txt`, please copy-paste the contents of that file here:**
I've attached the build log.
**5. What data and command can the vg dev team use to make the problem happen?**
Follow the Mac OS build instructions on an M1 mac running sequoia, having satisfied dependencies via Homebrew or MacPorts.
**6. What does running `vg version` say?**
vg does not build so no running vg to check. vg source acquire via
M1 Pro Mac running Sequoia 15.0.1
using a clean Homebrew install and a clean Xcode install.
1. What were you trying to do?
build vg from source on an M1 Pro (Apple Silicon) running Sequoia 15.0.1
2. What did you want to happen?
successful build of the vg executable
3. What actually happened?
build ultimately fails with what seems like a problem linking in libomp while building gbwt:
$git clone --recursive https://github.com/vgteam/vg.git
The text was updated successfully, but these errors were encountered: