[Openmp-commits] [PATCH] D46901: [libomptarget-nvptx] Test bitcode compiler flags and enable by default
Jonas Hahnfeld via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue May 15 13:19:10 PDT 2018
Hahnfeld created this revision.
Hahnfeld added reviewers: grokos, gtbercea, guansong, carlo.bertolli.
Herald added subscribers: openmp-commits, mgorny, jholewinski.
Move all logic related to selecting the bitcode compiler and linker
into a new file and dynamically test required compiler flags. This
also adds -fcuda-rdc for Clang trunk as previously attempted in https://reviews.llvm.org/D44992
which fixes the build.
As a result this change also enables building the library by default
if all prerequisites are met.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D46901
Files:
README.rst
libomptarget/cmake/Modules/LibomptargetNVPTXBitcodeLibrary.cmake
libomptarget/deviceRTLs/nvptx/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46901.146903.patch
Type: text/x-patch
Size: 15127 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180515/17ea60cb/attachment.bin>
More information about the Openmp-commits
mailing list