Revert "[cmake] Explicitly disable download step"
authorVitaly Buka <vitalybuka@google.com>
Wed, 19 Apr 2023 22:13:23 +0000 (15:13 -0700)
committerVitaly Buka <vitalybuka@google.com>
Wed, 19 Apr 2023 22:14:35 +0000 (15:14 -0700)
This does not help. The build is broken because compiler-rt-clear
deletes cmake generated files in STAMP_DIR/

This reverts commit da89ed99a16920e5986b14853d297322ccf7109e.

clang/CMakeLists.txt
compiler-rt/cmake/Modules/AddCompilerRT.cmake

index 6a72204..1fff005 100644 (file)
@@ -804,7 +804,6 @@ 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
@@ -916,7 +915,6 @@ 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
index 13bbcf2..2771a40 100644 (file)
@@ -698,7 +698,6 @@ 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