[llvm-branch-commits] [llvm] 4fd371d - Revert "[cmake][runtimes] Pass variable type for passthrough CMake options (#…"
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Nov 21 15:06:35 PST 2026
Author: Raul Tambre
Date: 2026-11-22T01:06:31+02:00
New Revision: 4fd371d73a9b3ff57b945eb36c9f923963c6076b
URL: https://github.com/llvm/llvm-project/commit/4fd371d73a9b3ff57b945eb36c9f923963c6076b
DIFF: https://github.com/llvm/llvm-project/commit/4fd371d73a9b3ff57b945eb36c9f923963c6076b.diff
LOG: Revert "[cmake][runtimes] Pass variable type for passthrough CMake options (#…"
This reverts commit c93f7fabe831aafabd158831175ab123c9e77ec6.
Added:
Modified:
llvm/runtimes/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/runtimes/CMakeLists.txt b/llvm/runtimes/CMakeLists.txt
index 9fba87fb7a5868..0401ab00c6ecc5 100644
--- a/llvm/runtimes/CMakeLists.txt
+++ b/llvm/runtimes/CMakeLists.txt
@@ -107,14 +107,6 @@ macro(append_passthrough_options out type names)
list(APPEND ${out} -C ${cache})
endforeach()
else()
- # Type is important for cache variables.
- # For example PATH variables will be made relative to CMAKE_BINARY_DIR
- # at the point of set(CACHE) if the type isn't passed along.
- get_property(type CACHE ${variable_name} PROPERTY TYPE)
- if(NOT type STREQUAL "UNINITIALIZED")
- string(APPEND new_name ":${type}")
- endif()
-
string(REPLACE ";" "|" new_value "${${variable_name}}")
list(APPEND ${out} "-D${new_name}=${new_value}")
endif()
More information about the llvm-branch-commits
mailing list