Skip to content

Commit 6740472

Browse files
authored
Use clang-cl from prebuilt toolchain
This should avoid the internal dependency on the just built clang being for the build.
1 parent 181ec1c commit 6740472

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-windows-toolchain.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ cmake ^
209209

210210
-D CMAKE_Swift_COMPILER="%BuildRoot%/toolchains/5.9.0/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin/swiftc.exe" ^
211211
-D CMAKE_Swift_FLAGS="-sdk %BuildRoot%/toolchains/5.9.0/Library/Developer/Platforms/Windows.platform/Developer/SDKs/Windows.sdk" ^
212+
-D SWIFT_CLANG_LOCATION="%BuildRoot%/toolchains/5.9.0/Library/Developer/Toolchains/unknown-Asserts-development.xctoolchain/usr/bin" ^
212213

213214
-D LLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-windows-msvc ^
214215

0 commit comments

Comments
 (0)