This patch adds llvm-mt and llvm-rc to the Clang bootstrap dependency when building the Clang under Windows so they can be used to build the Windows builtins and runtimes for the multi stage builds.
Details
Diff Detail
Event Timeline
clang/cmake/caches/Fuchsia.cmake | ||
---|---|---|
42–52 | You should be able to use the following to avoid having to separate the variables by type: foreach(variable ${PASSTHROUGH_VARIABLES}) get_property(is_value_set CACHE ${variable} PROPERTY VALUE SET) if(${is_value_set}) get_property(value CACHE ${variable} PROPERTY VALUE) get_property(type CACHE ${variable} PROPERTY TYPE) set(BOOTSTRAP_${variable} "${value}" CACHE ${type} "") endif() endforeach() |
clang/cmake/caches/Fuchsia.cmake | ||
---|---|---|
20–46 | Could we move this to a separate change since it's unrelated to the llvm-rc and llvm-mt change? | |
170–171 | Could we do this in https://github.com/llvm/llvm-project/blob/98f0e4f611b40c902cb0df3ef080ae2c00e862d4/clang/CMakeLists.txt#L619? That would be more consistent with other tools such as llvm-ar. |
clang/cmake/caches/Fuchsia.cmake | ||
---|---|---|
170–171 | I add it into clang/CMakeList.txt file. |
Could we move this to a separate change since it's unrelated to the llvm-rc and llvm-mt change?