diff options
author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-05-16 17:20:21 +0000 |
---|---|---|
committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-05-16 17:20:21 +0000 |
commit | 37bbe1a698e7ec10ee36f0b652d9ef22767ed03f (patch) | |
tree | 0c998e59fb460b2c47a34b65c65c3b981480b788 /llvm/lib/Support/ErrorHandling.cpp | |
parent | b7972f88c75fc9dc5ee8fd614346b069c9009092 (diff) | |
download | bcm5719-llvm-37bbe1a698e7ec10ee36f0b652d9ef22767ed03f.tar.gz bcm5719-llvm-37bbe1a698e7ec10ee36f0b652d9ef22767ed03f.zip |
[libomptarget-nvptx] Test bitcode compiler flags and enable by default
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 D44992
which fixes the build.
As a result this change also enables building the library by default
if all prerequisites are met.
Differential Revision: https://reviews.llvm.org/D46901
llvm-svn: 332494
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions