The libomp package fails to build with USE=-ompt it works fine with USE=ompt I'm not sure if this is an issue upstream, or if libomp now requires the tools to be built I'll try investigating this upsteam Reproducible: Always
I have an account to create bugs on https://bugs.llvm.org/enter_bug.cgi?product=OpenMP but I keep getting 504 errors when submitting libomp fails if build without tools This is with -DLIBOMP_OMPT_SUPPORT=no FAILED: tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -Darcher_EXPORTS -Iruntime/src -O3 -march=native -pipe -flto=8 -Wall -Wcast-qual -Wimplicit-fallthrough -Wsign-compare -Wno-extra -Wno-pedantic -Wno-maybe-uninitialized -std=gnu++11 -fPIC -MD -MT tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o -MF tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o.d -o tools/archer/CMakeFiles/archer.dir/ompt-tsan.cpp.o -c /var/tmp/portage/sys-libs/libomp-10.0.0.9999/work/openmp/tools/archer/ompt-tsan.cpp /var/tmp/portage/sys-libs/libomp-10.0.0.9999/work/openmp/tools/archer/ompt-tsan.cpp:38:10: fatal error: omp-tools.h: No such file or directory 38 | #include "omp-tools.h" | ^~~~~~~~~~~~~ compilation terminated. Full build log attached
Created attachment 596890 [details] build log
I've hit this one too, have they dropped DLIBOMP_OMPT_SUPPORT entirely?
Should be fixed in master now, requested backport to 10.x.
correct, it's all fixed now.