File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1640,11 +1640,11 @@ function Build-Compilers() {
1640
1640
$PythonRoot = " $BinaryCache \Python$ ( $Arch.CMakeName ) -$PythonVersion \tools"
1641
1641
$PythonLibName = " python{0}{1}" -f ([System.Version ]$PythonVersion ).Major, ([System.Version ]$PythonVersion ).Minor
1642
1642
1643
- # The STL in VS 17.10 requires Clang 17 or higher, but Swift toolchains prior to version 6 include older versions
1644
- # of Clang. If bootstrapping with an older toolchain, we need to relax to relax this requirement with
1645
- # ALLOW_COMPILER_AND_STL_VERSION_MISMATCH .
1643
+ # The STL in VS 17.10 requires Clang 17 or higher, but released Swift toolchains currently include older versions
1644
+ # of Clang. If bootstrapping with an older toolchain, we need to relax this requirement by defining
1645
+ # _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH. Developer builds are (currently) up-to-date .
1646
1646
$SwiftFlags = @ ();
1647
- if ([System.Version ](Get-PinnedToolchainVersion ) -lt [ System.Version ] " 6.0 " -and [ System.Version ]( Get-PinnedToolchainVersion ) - ne [System.Version ]" 0.0.0" ) {
1647
+ if ([System.Version ](Get-PinnedToolchainVersion ) -ne [System.Version ]" 0.0.0" ) {
1648
1648
$SwiftFlags += @ (" -Xcc" , " -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH" );
1649
1649
}
1650
1650
You can’t perform that action at this time.
0 commit comments