[Openmp-dev] Building OpenMP as runtime vs project
Joachim Protze via Openmp-dev
openmp-dev at lists.llvm.org
Tue Feb 9 04:22:11 PST 2021
Hi all,
after recent build issues when building OpenMP as a project
(LLVM_ENABLE_PROJECTS="...;openmp"), I started to build OpenMP as a
runtime (LLVM_ENABLE_RUNTIMES="...;openmp").
Currently I see two issues with this build setup:
Any of the test targets are not available in the top-level build directory.
$ ninja check-libomp
ninja: error: unknown target 'check-libomp'
Is anyone working on enabling this, if we really want to move towards
building OpenMP as runtime?
The other issue when building OpenMP as a runtime is specific for the
tests check-libarcher:
The tests depend on ThreadSanitizer support in the compiler. For the
in-tree build we currently check, whether the tsan target exists and
turn on the test in that case. When building OpenMP as a runtime, the
tsan target does not exist in that cmake environment. How should we pass
such and similar information down to the runtime build?
Best
Joachim
More information about the Openmp-dev
mailing list