aboutsummaryrefslogtreecommitdiff
path: root/llvm/runtimes
diff options
context:
space:
mode:
authorPetr Hosek <phosek@google.com>2022-03-21 18:34:59 -0700
committerPetr Hosek <phosek@google.com>2022-03-21 22:21:30 -0700
commite4e281eae93346b3fdc70a4808d5984ef049406b (patch)
tree97b082821fd87d3d3fd0e92fdecdc501bc4be4a3 /llvm/runtimes
parentddc90da478483437f26b4e27f8561cf37436a129 (diff)
downloadllvm-e4e281eae93346b3fdc70a4808d5984ef049406b.zip
llvm-e4e281eae93346b3fdc70a4808d5984ef049406b.tar.gz
llvm-e4e281eae93346b3fdc70a4808d5984ef049406b.tar.bz2
Revert "[bootstrap] Allow passing options to sub-builds for all targets"
This reverts commit 240e06dfe77feabe38a03cbb1c94875639d0f9ff.
Diffstat (limited to 'llvm/runtimes')
-rw-r--r--llvm/runtimes/CMakeLists.txt11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index ae2af14..9ee124a 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -340,17 +340,6 @@ function(runtime_register_target name target)
endforeach()
endif()
- # If we're passed any option like <project>_FOO, pass it through to the sub-builds.
- foreach(runtime ${LLVM_ENABLE_RUNTIMES})
- string(TOUPPER "${runtime}" runtime_upper)
- foreach(variableName ${variableNames})
- if (variableName MATCHES "^${runtime_upper}_.+")
- string(REPLACE ";" "|" escaped_value "${${variableName}}")
- list(APPEND ${name}_extra_args "-D${variableName}=${escaped_value}")
- endif()
- endforeach()
- endforeach()
-
if(NOT RUNTIMES_${name}_LLVM_ENABLE_RUNTIMES AND NOT RUNTIMES_${target}_LLVM_ENABLE_RUNTIMES)
string(REPLACE ";" "|" LLVM_ENABLE_RUNTIMES_PASSTHROUGH "${LLVM_ENABLE_RUNTIMES}")
list(APPEND ${name}_extra_args -DLLVM_ENABLE_RUNTIMES=${LLVM_ENABLE_RUNTIMES_PASSTHROUGH})