[all-commits] [llvm/llvm-project] fb12df: [OpenMP][NVPTX] Disable building NVPTX deviceRTL b...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Jan 27 14:06:35 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fb12df4a8e33d759938057718273dfb434b2d9c4
https://github.com/llvm/llvm-project/commit/fb12df4a8e33d759938057718273dfb434b2d9c4
Author: Shilei Tian <tianshilei1992 at gmail.com>
Date: 2021-01-27 (Wed, 27 Jan 2021)
Changed paths:
M openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
Log Message:
-----------
[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
More information about the All-commits
mailing list