File tree 4 files changed +24
-6
lines changed
4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -71,11 +71,19 @@ jobs:
71
71
arguments : -no_logo -arch=x64 -host_arch=x64
72
72
modifyEnvironment : true
73
73
74
- - task : MSBuild@1
75
- displayName : toolchain.msi
76
- inputs :
77
- solution : $(Build.SourcesDirectory)/swift-build/wix/windows-toolchain.wixproj
78
- msbuildArguments : /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:TOOLCHAIN_ROOT=$(toolchain.directory)
74
+ - ${{ if eq(parameters.VERSION, '5.2') }} :
75
+ - task : MSBuild@1
76
+ displayName : toolchain.msi
77
+ inputs :
78
+ solution : $(Build.SourcesDirectory)/swift-build/wix/windows-toolchain.wixproj
79
+ msbuildArguments : /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:TOOLCHAIN_ROOT=$(toolchain.directory) -p:INCLUDE_LLDB_PYTHON_SCRIPTS=false
80
+
81
+ - ${{ if ne(parameters.VERSION, '5.2') }} :
82
+ - task : MSBuild@1
83
+ displayName : toolchain.msi
84
+ inputs :
85
+ solution : $(Build.SourcesDirectory)/swift-build/wix/windows-toolchain.wixproj
86
+ msbuildArguments : /p:RunWixToolsOutOfProc=true -p:OutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:IntermediateOutputPath=$(Build.BinariesDirectory)\toolchain-msi\ -p:TOOLCHAIN_ROOT=$(toolchain.directory) -p:INCLUDE_LLDB_PYTHON_SCRIPTS=true
79
87
80
88
- publish : $(Build.BinariesDirectory)/toolchain-msi/toolchain.msi
81
89
artifact : ${{ parameters.platform }}-toolchain-${{ parameters.proc }}.msi
Original file line number Diff line number Diff line change @@ -301,6 +301,8 @@ stages:
301
301
os : Windows
302
302
proc : amd64
303
303
304
+ VERSION : 5.2
305
+
304
306
- stage : package_windows_sdk
305
307
dependsOn : windows_sdk
306
308
displayName : package SDK
Original file line number Diff line number Diff line change 25
25
<Import Project =" $(WixTargetsPath)" />
26
26
27
27
<PropertyGroup >
28
- <DefineConstants >TOOLCHAIN_ROOT=$(TOOLCHAIN_ROOT);TOOLCHAIN_ROOT_USR_LIB_CLANG=$(TOOLCHAIN_ROOT)\usr\lib\clang;$(INCLUDE_DEBUG_INFO)</DefineConstants >
28
+ <INCLUDE_LLDB_PYTHON_SCRIPTS Condition =" '$(INCLUDE_LLDB_PYTHON_SCRIPTS)' == '' " >true</INCLUDE_LLDB_PYTHON_SCRIPTS >
29
+ </PropertyGroup >
30
+
31
+ <PropertyGroup >
32
+ <DefineConstants >TOOLCHAIN_ROOT=$(TOOLCHAIN_ROOT);TOOLCHAIN_ROOT_USR_LIB_CLANG=$(TOOLCHAIN_ROOT)\usr\lib\clang;$(INCLUDE_DEBUG_INFO);INCLUDE_LLDB_PYTHON_SCRIPTS=$(INCLUDE_LLDB_PYTHON_SCRIPTS)</DefineConstants >
29
33
<HarvestDirectoryAutogenerateGuids >false</HarvestDirectoryAutogenerateGuids >
30
34
<HarvestDirectoryGenerateGuidsNow >true</HarvestDirectoryGenerateGuidsNow >
31
35
<HarvestDirectoryNoLogo >true</HarvestDirectoryNoLogo >
Original file line number Diff line number Diff line change 235
235
</Component >
236
236
</DirectoryRef >
237
237
238
+ <?if $(var.INCLUDE_LLDB_PYTHON_SCRIPTS) = true ?>
238
239
<DirectoryRef Id =" USR_LIB_SITE_PACKAGES_LLDB" >
239
240
<Component Id =" LLDB_PYTHON_SCRIPTS" Guid =" 9205b430-21b1-4b50-ac91-cd41f3a0e050" >
240
241
<File Id =" LLDB___INIT___PY" Source =" $(var.TOOLCHAIN_ROOT)\usr\lib\site-packages\lldb\__init__.py" Checksum =" yes" />
270
271
<File Id =" LLDB_UTILS_SYMBOLICATION_PY" Source =" $(var.TOOLCHAIN_ROOT)\usr\lib\site-packages\lldb\utils\symbolication.py" Checksum =" yes" />
271
272
</Component >
272
273
</DirectoryRef >
274
+ <?endif ?>
273
275
274
276
<!-- TODO: install the block headers from Swift -->
275
277
<!--
382
384
<!--
383
385
<ComponentGroupRef Id="SWIFT_SHIMS" />
384
386
-->
387
+ <?if $(var.INCLUDE_LLDB_PYTHON_SCRIPTS) = true ?>
385
388
<ComponentRef Id =" LLDB_PYTHON_SCRIPTS" />
386
389
<ComponentRef Id =" LLDB_PYTHON_SCRIPTS_FORMATTERS" />
387
390
<ComponentRef Id =" LLDB_PYTHON_SCRIPTS_FORMATTERS_CPP" />
388
391
<ComponentRef Id =" LLDB_PYTHON_SCRIPTS_UTILS" />
392
+ <?endif ?>
389
393
390
394
<ComponentRef Id =" ENV_VARS" />
391
395
</Feature >
You can’t perform that action at this time.
0 commit comments