[llvm] [libc] Fix missing dependency on the nvlink-wrapper (PR #110056)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 15:39:03 PDT 2024
https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/110056
Summary:
If this tool changes it should be rebuilt, as its used in the
compilation pipeline.
>From 80e51a20054d663eda9a209976f4d8305ee8daac Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Wed, 25 Sep 2024 17:38:13 -0500
Subject: [PATCH] [libc] Fix missing dependency on the nvlink-wrapper
Summary:
If this tool changes it should be rebuilt, as its used in the
compilation pipeline.
---
llvm/runtimes/CMakeLists.txt | 3 +++
1 file changed, 3 insertions(+)
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 187c44fb9d04d2..d948b7eb39b39c 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -559,6 +559,9 @@ if(build_runtimes)
if(TARGET clang-offload-packager)
list(APPEND extra_deps clang-offload-packager)
endif()
+ if(TARGET clang-nvlink-wrapper)
+ list(APPEND extra_deps clang-nvlink-wrapper)
+ endif()
endif()
if(LLVM_LIBC_FULL_BUILD)
list(APPEND extra_cmake_args "-DLLVM_LIBC_FULL_BUILD=ON")
More information about the llvm-commits
mailing list