aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-04-05 15:30:48 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-04-05 15:31:38 -0500
commit43d90f3056f91198169505eb2c8ccf47f384b877 (patch)
treed3a99af9dc16bd9da1ac234a16e2d853d928618d /libc
parentc61f45fc3e041606c5b94c468a5c092e8a6e5601 (diff)
downloadllvm-43d90f3056f91198169505eb2c8ccf47f384b877.zip
llvm-43d90f3056f91198169505eb2c8ccf47f384b877.tar.gz
llvm-43d90f3056f91198169505eb2c8ccf47f384b877.tar.bz2
[libc] Only add extra runtime dependencies if the target exists
Summary: If the target for these tools doesn't exist we should simply assume that they will be provided externally. This allows building `libc` standalone with an external installation of `clang`.
Diffstat (limited to 'libc')
-rw-r--r--libc/cmake/modules/prepare_libc_gpu_build.cmake1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/cmake/modules/prepare_libc_gpu_build.cmake b/libc/cmake/modules/prepare_libc_gpu_build.cmake
index 9e0ce79..2185128 100644
--- a/libc/cmake/modules/prepare_libc_gpu_build.cmake
+++ b/libc/cmake/modules/prepare_libc_gpu_build.cmake
@@ -103,6 +103,5 @@ if(LIBC_GPU_TARGET_ARCHITECTURE_IS_NVPTX)
find_package(CUDAToolkit QUIET)
if(CUDAToolkit_FOUND)
get_filename_component(LIBC_CUDA_ROOT "${CUDAToolkit_BIN_DIR}" DIRECTORY ABSOLUTE)
- message(WARNING ${LIBC_CUDA_ROOT})
endif()
endif()