[compiler-rt] [compiler-rt] Fix clang_rt.builtins spirv64 bitcode install component (PR #216276)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 14 01:23:40 PDT 2026
https://github.com/jinge90 created https://github.com/llvm/llvm-project/pull/216276
Install component for libclang_rt.builtins static archive library for spirv64 is clang_rt.builtins-spirv64, libclang_rt.builtins bitcode library install should use same component as static archive library.
>From 4ce0cba0eaa63fdc6f7a7c4ea522e35c7e98294e Mon Sep 17 00:00:00 2001
From: jinge90 <ge.jin at intel.com>
Date: Fri, 14 Aug 2026 16:19:58 +0800
Subject: [PATCH] [compiler-rt] Fix clang_rt.builtins spirv64 bitcode install
component
Signed-off-by: jinge90 <ge.jin at intel.com>
---
compiler-rt/lib/builtins/CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index e7827f2201b43..12a3b068b3373 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -1216,7 +1216,7 @@ else ()
get_compiler_rt_install_dir(${arch} BUILTIN_INSTALL_DIR)
install(FILES "${SPIRV64_BC_OUTPUT}"
DESTINATION "${BUILTIN_INSTALL_DIR}"
- COMPONENT builtins)
+ COMPONENT clang_rt.builtins-${arch})
else()
message(WARNING
"llvm-link not found (LLVM_TOOLS_BINARY_DIR='${LLVM_TOOLS_BINARY_DIR}'); "
More information about the llvm-commits
mailing list