Skip to content

Commit

Permalink
[cmake] Explicitly disable download step
Browse files Browse the repository at this point in the history
Fixes the following on cmake version 3.24.2:
'tools/clang/runtime/compiler-rt-stamps/compiler-rt-source_dirinfo.txt',
needed by 'tools/clang/runtime/compiler-rt-stamps/compiler-rt-download',
missing and no known rule to make it

Maybe related to https://cmake.org/cmake/help/latest/release/3.24.html#modules
  • Loading branch information
vitalybuka committed Apr 19, 2023
1 parent 9c92b02 commit da89ed9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
--config ${build_configuration}
${build_tool_args}
INSTALL_COMMAND ""
DOWNLOAD_COMMAND ""
STEP_TARGETS configure build
USES_TERMINAL_CONFIGURE 1
USES_TERMINAL_BUILD 1
Expand Down Expand Up @@ -915,6 +916,7 @@ if (CLANG_BOLT_INSTRUMENT AND NOT LLVM_BUILD_INSTRUMENTED)
--config ${build_configuration}
--target ${CLANG_BOLT_INSTRUMENT_TARGETS}
INSTALL_COMMAND ""
DOWNLOAD_COMMAND ""
STEP_TARGETS configure build
USES_TERMINAL_CONFIGURE 1
USES_TERMINAL_BUILD 1
Expand Down
1 change: 1 addition & 0 deletions compiler-rt/cmake/Modules/AddCompilerRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ macro(add_custom_libcxx name prefix)
-DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=ON
${LIBCXX_CMAKE_ARGS}
INSTALL_COMMAND ""
DOWNLOAD_COMMAND ""
STEP_TARGETS configure build
BUILD_ALWAYS 1
USES_TERMINAL_CONFIGURE 1
Expand Down

0 comments on commit da89ed9

Please sign in to comment.