@@ -42,8 +42,11 @@ set TMPDIR=%BuildRoot%\tmp
42
42
43
43
set NINJA_STATUS = [%% f/%% t][%% p][%% es]
44
44
45
- call :CloneDependencies || (exit /b)
45
+ :: Always enable symbolic links
46
+ git config --global core.symlinks true
47
+
46
48
call :CloneRepositories || (exit /b)
49
+ call :CloneICU || (exit /b)
47
50
48
51
md " %BuildRoot% \Library"
49
52
@@ -565,17 +568,13 @@ if defined SKIP_UPDATE_CHECKOUT goto :eof
565
568
566
569
if defined REPO_SCHEME set " args = --scheme %REPO_SCHEME% "
567
570
568
- :: Always enable symbolic links
569
- git config --global core.symlink true
570
-
571
571
:: Ensure that we have the files in the original line endings, the swift tests
572
572
:: depend on this being the case.
573
573
git -C " %SourceRoot% \swift" config --local core.autocrlf input
574
574
git -C " %SourceRoot% \swift" checkout-index --force --all
575
575
576
576
set " args = %args% --skip-repository swift"
577
577
set " args = %args% --skip-repository ninja"
578
- set " args = %args% --skip-repository icu"
579
578
set " args = %args% --skip-repository swift-integration-tests"
580
579
set " args = %args% --skip-repository swift-stress-tester"
581
580
set " args = %args% --skip-repository swift-xcode-playground-support"
@@ -585,20 +584,13 @@ call "%SourceRoot%\swift\utils\update-checkout.cmd" %args% --clone --skip-histor
585
584
goto :eof
586
585
endlocal
587
586
588
- :CloneDependencies
587
+ :CloneICU
588
+ :: TODO(stevapple) move ICU to update-checkout
589
589
setlocal enableextensions enabledelayedexpansion
590
590
591
- :: Always enable symbolic links
592
- git config --global core.symlinks true
593
-
594
591
:: FIXME(compnerd) avoid the fresh clone
595
- rd /s /q zlib libxml2 sqlite icu curl
596
-
597
- git clone --quiet --no-tags --depth 1 --branch v1.2.11 https://github.com/madler/zlib
598
- git clone --quiet --no-tags --depth 1 --branch v2.9.12 https://github.com/gnome/libxml2
599
- git clone --quiet --no-tags --depth 1 --branch version-3.36.0 https://github.com/sqlite/sqlite
592
+ rd /s /q icu
600
593
git clone --quiet --no-tags --depth 1 --branch maint/maint-69 https://github.com/unicode-org/icu
601
- git clone --quiet --no-tags --depth 1 --branch curl-7_77_0 https://github.com/curl/curl
602
594
603
595
goto :eof
604
596
endlocal
0 commit comments