[llvm] [CMake] Correctly handle LLVM_ENABLE_RUNTIMES in targets (PR #69869)
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 23 09:41:18 PDT 2023
================
@@ -483,21 +505,6 @@ if(runtimes)
-DLLVM_RUNTIMES_LIBDIR_SUBDIR=${multilib}
BASE_NAME ${name}
EXTRA_ARGS TARGET_TRIPLE ${name})
-
- add_dependencies(runtimes runtimes-${name}+${multilib})
- add_dependencies(runtimes-configure runtimes-${name}+${multilib}-configure)
- add_dependencies(install-runtimes install-runtimes-${name}+${multilib})
- add_dependencies(install-runtimes-stripped install-runtimes-${name}+${multilib}-stripped)
- foreach(runtime_name ${runtime_names})
- add_dependencies(${runtime_name} ${runtime_name}-${name}+${multilib})
- add_dependencies(install-${runtime_name} install-${runtime_name}-${name}+${multilib})
- add_dependencies(install-${runtime_name}-stripped install-${runtime_name}-${name}+${multilib}-stripped)
- endforeach()
- foreach(component ${LLVM_RUNTIME_DISTRIBUTION_COMPONENTS})
- add_dependencies(${component} ${component}-${name}+${multilib})
- add_dependencies(install-${component} install-${component}-${name}+${multilib})
- add_dependencies(install-${component}-stripped install-${component}-${name}+${multilib}-stripped)
- endforeach()
----------------
smeenai wrote:
Hmm, where's the replacement for this logic for multilibs?
https://github.com/llvm/llvm-project/pull/69869
More information about the llvm-commits
mailing list