Skip to content

Commit c8e3b94

Browse files
committed
build: add the temporary workaround to Swift and lldb as well
Ensure that we can build with the older toolchain when building Swift and LLVM as well.
1 parent 342f3dd commit c8e3b94

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/build-windows-rebranch.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ cmake^
233233
-DSWIFT_PATH_TO_CMARK_SOURCE:PATH=%source_root%\cmark^
234234
-DSWIFT_PATH_TO_LIBDISPATCH_SOURCE:PATH=%source_root%\swift-corelibs-libdispatch^
235235
-DLLVM_DIR:PATH=%build_root%\llvm\lib\cmake\llvm^
236+
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON^
236237
-DSWIFT_INCLUDE_DOCS:BOOL=NO^
237238
-DSWIFT_WINDOWS_x86_64_ICU_UC_INCLUDE:PATH=%source_root%\icu-%icu_version%\include\unicode^
238239
-DSWIFT_WINDOWS_x86_64_ICU_UC:PATH=%source_root%\icu-%icu_version%\lib64\icuuc.lib^
@@ -292,6 +293,7 @@ cmake^
292293
-DCMAKE_SHARED_LINKER_FLAGS:STRING=/INCREMENTAL:NO^
293294
-DLLDB_DISABLE_PYTHON=YES^
294295
-DLLDB_INCLUDE_TESTS:BOOL=NO^
296+
-DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON^
295297
-S "%source_root%\lldb" %exitOnError%
296298

297299
cmake --build "%build_root%\lldb" %exitOnError%

0 commit comments

Comments
 (0)