diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-04-05 15:30:48 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-04-05 15:31:38 -0500 |
commit | 43d90f3056f91198169505eb2c8ccf47f384b877 (patch) | |
tree | d3a99af9dc16bd9da1ac234a16e2d853d928618d /libc | |
parent | c61f45fc3e041606c5b94c468a5c092e8a6e5601 (diff) | |
download | llvm-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.cmake | 1 |
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() |