File tree 5 files changed +12
-2
lines changed
5 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ parameters:
23
23
type : string
24
24
default : ' '
25
25
26
+ - name : VERSION
27
+ type : string
28
+ default : ' master'
29
+
26
30
- name : VisualStudio
27
31
type : string
28
32
default : ' '
@@ -281,9 +285,8 @@ jobs:
281
285
displayName : Configure toolchain
282
286
inputs :
283
287
cmakeArgs :
284
- -G Ninja
285
- -S $(Build.SourcesDirectory)/toolchain/llvm
286
288
-B $(Build.BinariesDirectory)/toolchain
289
+ -C $(Build.SourcesDirectory)/swift-build/cmake/caches/toolchain-${{ parameters.VERSION }}.cmake
287
290
-C $(Build.SourcesDirectory)/swift-build/cmake/caches/${{ parameters.platform }}-${{ parameters.arch }}.cmake
288
291
-C $(Build.SourcesDirectory)/swift-build/cmake/caches/org.compnerd.dt.cmake
289
292
-D CMAKE_BUILD_TYPE=Release
@@ -298,6 +301,8 @@ jobs:
298
301
${{ parameters.LLVM_OPTIONS }}
299
302
${{ parameters.LLDB_OPTIONS }}
300
303
${{ parameters.SWIFT_OPTIONS }}
304
+ -G Ninja
305
+ -S $(Build.SourcesDirectory)/toolchain/llvm
301
306
302
307
- task : CMake@1
303
308
displayName : Build toolchain
Original file line number Diff line number Diff line change @@ -129,3 +129,5 @@ stages:
129
129
130
130
RUN_TESTS : true
131
131
RUN_VALIDATION_TESTS : false
132
+
133
+ VERSION : 5.2
Original file line number Diff line number Diff line change @@ -150,6 +150,8 @@ stages:
150
150
RUN_TESTS : true
151
151
RUN_VALIDATION_TESTS : false
152
152
153
+ VERSION : 5.2
154
+
153
155
- stage : android_sdk
154
156
dependsOn : toolchain
155
157
displayName : ' Android SDK'
Original file line number Diff line number Diff line change
1
+ set (SWIFT_BUILD_DISABLE_LLDB_PYTHON_SCRIPTS TRUE CACHE BOOL "" FORCE)
You can’t perform that action at this time.
0 commit comments