[PATCH] D141273: Fix build when LLVM_BUILTIN_TARGETS is not set
Yi Kong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 21:58:39 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe37cb6390c89: Fix build when LLVM_BUILTIN_TARGETS is not set (authored by kongyi).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141273/new/
https://reviews.llvm.org/D141273
Files:
llvm/runtimes/CMakeLists.txt
Index: llvm/runtimes/CMakeLists.txt
===================================================================
--- llvm/runtimes/CMakeLists.txt
+++ llvm/runtimes/CMakeLists.txt
@@ -421,7 +421,11 @@
foreach(name ${LLVM_RUNTIME_TARGETS})
if(builtins_dep)
- set(builtins_dep_name "${builtins_dep}-${name}")
+ if (LLVM_BUILTIN_TARGETS)
+ set(builtins_dep_name "${builtins_dep}-${name}")
+ else()
+ set(builtins_dep_name ${builtins_dep})
+ endif()
endif()
runtime_register_target(${name} ${name}
DEPENDS ${builtins_dep_name})
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141273.487675.patch
Type: text/x-patch
Size: 597 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230110/cf7fd07f/attachment-0001.bin>
More information about the llvm-commits
mailing list