[PATCH] D147581: [libc] Ensure that the required clang tools are up-to-date for libc GPU
Joseph Huber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 17:51:03 PDT 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb8fab512e955: [libc] Ensure that the required clang tools are up-to-date for libc GPU (authored by jhuber6).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147581/new/
https://reviews.llvm.org/D147581
Files:
llvm/runtimes/CMakeLists.txt
Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -399,6 +399,9 @@
# "libc" is detected in LLVM_ENABLE_RUNTIMES.
message(FATAL_ERROR "libc-hdrgen target missing unexpectedly")
endif()
+ if(LIBC_GPU_BUILD OR LIBC_GPU_ARCHITECTURES)
+ list(APPEND extra_deps clang-offload-packager nvptx-arch amdgpu-arch)
+ endif()
endif()
if(NOT LLVM_RUNTIME_TARGETS)
runtime_default_target(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147581.510979.patch
Type: text/x-patch
Size: 538 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230405/bae187c1/attachment.bin>
More information about the llvm-commits
mailing list