@@ -28,8 +28,8 @@ setlocal enableextensions enabledelayedexpansion
28
28
29
29
PATH=%PATH% ;%PYTHON_HOME%
30
30
31
- set icu_version_major = 64
32
- set icu_version_minor = 2
31
+ set icu_version_major = 69
32
+ set icu_version_minor = 1
33
33
set icu_version = %icu_version_major% _%icu_version_minor%
34
34
set icu_version_dashed = %icu_version_major% -%icu_version_minor%
35
35
@@ -68,9 +68,10 @@ set RunTest=1
68
68
if " %1 " == " -notest" set RunTest = 0
69
69
70
70
call :clone_repositories %exitOnError%
71
- call :download_icu %exitOnError%
71
+ :: TODO: Disabled until we need Foundation in this build script.
72
+ :: call :download_icu %exitOnError%
72
73
:: TODO: Disabled until we need LLBuild/SwiftPM in this build script.
73
- :: call :download_sqlite3
74
+ :: call :download_sqlite3 %exitOnError%
74
75
75
76
call :build_llvm %exitOnError%
76
77
path %PATH% ;%install_directory% \bin
@@ -82,10 +83,10 @@ call :build_swift %exitOnError%
82
83
83
84
call :build_lldb %exitOnError%
84
85
85
- path %PATH% ;C: \Program Files\Git\usr\bin
86
+ path %PATH% ;%SystemDrive% \Program Files\Git\usr\bin
86
87
call :build_libdispatch %exitOnError%
87
88
88
- path %source_root% \icu- %icu_version% \bin64; % install_directory% \bin;%build_root% \swift\bin;%build_root% \swift\libdispatch-prefix\bin;%PATH%
89
+ path %install_directory% \bin;%build_root% \swift\bin;%build_root% \swift\libdispatch-prefix\bin;%PATH%
89
90
90
91
if %RunTest% == 1 (
91
92
call :test_swift %exitOnError%
@@ -104,7 +105,7 @@ setlocal enableextensions enabledelayedexpansion
104
105
if defined REPO_SCHEME SET " scheme_arg = --scheme %REPO_SCHEME% "
105
106
106
107
git -C " %source_root% \swift" config --local core.autocrlf input
107
- git -C " %source_root% \swift" config --local core.symlink true
108
+ git -C " %source_root% \swift" config --local core.symlinks true
108
109
git -C " %source_root% \swift" checkout-index --force --all
109
110
110
111
:: Always skip Swift, since it is checked out by Jenkins
@@ -134,15 +135,14 @@ endlocal
134
135
135
136
136
137
:download_icu
137
- :: Downloads ICU, which will be used as a dependency for the Swift Standard
138
- :: Library and Foundation.
138
+ :: Downloads ICU, which will be used as a dependency for Foundation.
139
139
setlocal enableextensions enabledelayedexpansion
140
140
141
- set file_name = icu4c-%icu_version% -Win64-MSVC2017 .zip
141
+ set file_name = icu4c-%icu_version% -Win64-MSVC2019 .zip
142
142
curl -L -O " https://github.com/unicode-org/icu/releases/download/release-%icu_version_dashed% /%file_name% " %exitOnError%
143
143
:: unzip warns about the paths in the zip using slashes, which raises the
144
144
:: errorLevel to 1. We cannot use exitOnError, and have to ignore errors.
145
- " C: \Program Files\Git\usr\bin\unzip.exe" -o %file_name% -d " %source_root% \icu-%icu_version% "
145
+ " %SystemDrive% \Program Files\Git\usr\bin\unzip.exe" -o %file_name% -d " %source_root% \icu-%icu_version% "
146
146
exit /b 0
147
147
148
148
goto :eof
@@ -154,9 +154,9 @@ endlocal
154
154
:: Swift Package Manager.
155
155
setlocal enableextensions enabledelayedexpansion
156
156
157
- set file_name = sqlite-amalgamation-3270200 .zip
158
- curl -L -O " https://www.sqlite.org/2019 /%file_name% " %exitOnError%
159
- " C: \Program Files\Git\usr\bin\unzip.exe" -o %file_name% %exitOnError%
157
+ set file_name = sqlite-amalgamation-3360000 .zip
158
+ curl -L -O " https://www.sqlite.org/2021 /%file_name% " %exitOnError%
159
+ " %SystemDrive% \Program Files\Git\usr\bin\unzip.exe" -o %file_name% %exitOnError%
160
160
161
161
goto :eof
162
162
endlocal
0 commit comments