Skip to content

Commit c38e9b2

Browse files
authored
Merge pull request #27788 from drodriguez/windows-build-use-monorepo
[windows] Use the monorepo in the Windows build script for CI.
2 parents 52398dd + f6e651a commit c38e9b2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

utils/build-windows.bat

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,13 @@ setlocal enableextensions enabledelayedexpansion
7979

8080
git config --global core.autocrlf false
8181
git clone --depth 1 --single-branch https://github.com/apple/swift-cmark cmark %exitOnError%
82-
git clone --depth 1 --single-branch https://github.com/apple/swift-clang clang %exitOnError%
83-
git clone --depth 1 --single-branch https://github.com/apple/swift-llvm llvm %exitOnError%
84-
git clone --depth 1 --single-branch https://github.com/apple/swift-lldb lldb %exitOnError%
85-
git clone --depth 1 --single-branch https://github.com/apple/swift-compiler-rt compiler-rt %exitOnError%
82+
git clone --depth 1 --single-branch --branch swift/master https://github.com/apple/llvm-project llvm-project %exitOnError%
83+
mklink /D "%source_root%\clang" "%source_root%\llvm-project\clang"
84+
mklink /D "%source_root%\llvm" "%source_root%\llvm-project\llvm"
85+
mklink /D "%source_root%\lldb" "%source_root%\llvm-project\lldb"
86+
mklink /D "%source_root%\compiler-rt" "%source_root%\llvm-project\compiler-rt"
87+
mklink /D "%source_root%\libcxx" "%source_root%\llvm-project\libcxx"
88+
mklink /D "%source_root%\clang-tools-extra" "%source_root%\llvm-project\clang-tools-extra"
8689
git clone --depth 1 --single-branch https://github.com/apple/swift-corelibs-libdispatch %exitOnError%
8790

8891
goto :eof

0 commit comments

Comments
 (0)