File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -124,6 +124,7 @@ param(
124
124
[string []] $AndroidSDKs = @ (),
125
125
[string []] $WindowsSDKs = @ (" X64" , " X86" , " Arm64" ),
126
126
[string ] $ProductVersion = " 0.0.0" ,
127
+ [string ] $ToolchainIdentifier = $ (if (${env: TOOLCHAIN_VERSION} ) { " ${env: TOOLCHAIN_VERSION} " } else { " ${env: USERNAME} .development" }),
127
128
[string ] $PinnedBuild = " " ,
128
129
[string ] $PinnedSHA256 = " " ,
129
130
[string ] $PinnedVersion = " " ,
@@ -1533,6 +1534,9 @@ function Build-Compilers() {
1533
1534
" cmark-gfm_DIR" = " $ ( $Arch.ToolchainInstallRoot ) \usr\lib\cmake" ;
1534
1535
})
1535
1536
}
1537
+
1538
+ Invoke-Program " $ ( Get-PythonExecutable ) " - c " import plistlib; print(str(plistlib.dumps({ 'Identifier': '${ToolchainIdentifier} ' }), encoding='utf-8'))" `
1539
+ - OutFile " $ ( $Arch.ToolchainInstallRoot ) \ToolchainInfo.plist"
1536
1540
}
1537
1541
1538
1542
# Reference: https://github.com/microsoft/mimalloc/tree/dev/bin#minject
You can’t perform that action at this time.
0 commit comments