aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorShilei Tian <tianshilei1992@gmail.com>2021-01-27 17:06:05 -0500
committerShilei Tian <tianshilei1992@gmail.com>2021-01-27 17:06:14 -0500
commitfb12df4a8e33d759938057718273dfb434b2d9c4 (patch)
tree33a5bce07f213712e415db8907b8b25920a5801a /clang/lib/Frontend/CompilerInvocation.cpp
parent7e6c87ee045497ee0b6b7e55e54921b274e8a9f2 (diff)
downloadllvm-fb12df4a8e33d759938057718273dfb434b2d9c4.zip
llvm-fb12df4a8e33d759938057718273dfb434b2d9c4.tar.gz
llvm-fb12df4a8e33d759938057718273dfb434b2d9c4.tar.bz2
[OpenMP][NVPTX] Disable building NVPTX deviceRTL by default on a non-CUDA system
D95466 dropped CUDA to build NVPTX deviceRTL and enabled it by default. However, the building requires some libraries that are not available on non-CUDA system by default, which could break the compilation. This patch disabled the build by default. It can be enabled with `LIBOMPTARGET_BUILD_NVPTX_BCLIB=ON`. Reviewed By: kparzysz Differential Revision: https://reviews.llvm.org/D95556
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions