[Openmp-commits] [PATCH] D46842: [OpenMP][libomptarget] Make bitcode library building depend on clang and llvm-linker being available
George Rokos via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Mon May 14 13:50:10 PDT 2018
grokos requested changes to this revision.
grokos added a comment.
I agree with Jonas, the initial version of the nvptx RTL that we tried to upstream was somewhat like what you try to do here and the consensus was that we do not want to have these dependencies.
If you want to use the just-built clang to compile the BC lib, then the proper (albeit longer) solution is to build clang without the BC lib, then re-run cmake with `LIBOMPTARGET_NVPTX_ENABLE_BCLIB` enabled and `LIBOMPTARGET_NVPTX_SELECTED_CUDA_COMPILER` pointing to the just-built clang and re-run ninja.
More information about the Openmp-commits