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(
124124 [string []] $AndroidSDKs = @ (),
125125 [string []] $WindowsSDKs = @ (" X64" , " X86" , " Arm64" ),
126126 [string ] $ProductVersion = " 0.0.0" ,
127+ [string ] $ToolchainIdentifier = $ (if (${env: TOOLCHAIN_VERSION} ) { " ${env: TOOLCHAIN_VERSION} " } else { " ${env: USERNAME} .development" }),
127128 [string ] $PinnedBuild = " " ,
128129 [string ] $PinnedSHA256 = " " ,
129130 [string ] $PinnedVersion = " " ,
@@ -1533,6 +1534,9 @@ function Build-Compilers() {
15331534 " cmark-gfm_DIR" = " $ ( $Arch.ToolchainInstallRoot ) \usr\lib\cmake" ;
15341535 })
15351536 }
1537+
1538+ Invoke-Program " $ ( Get-PythonExecutable ) " - c " import plistlib; print(str(plistlib.dumps({ 'Identifier': '${ToolchainIdentifier} ' }), encoding='utf-8'))" `
1539+ - OutFile " $ ( $Arch.ToolchainInstallRoot ) \ToolchainInfo.plist"
15361540}
15371541
15381542# Reference: https://github.com/microsoft/mimalloc/tree/dev/bin#minject
You can’t perform that action at this time.
0 commit comments