File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -1640,9 +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 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.
1643
+ # The STL in the latest versions of VS typically require a newer version of
1644
+ # Clang than released Swift toolchains include. If bootstrapping with an
1645
+ # older toolchain, we need to relax this requirement by defining
1646
+ # _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH. Developer builds are (currently)
1647
+ # up-to-date.
1646
1648
$SwiftFlags = @ ();
1647
1649
if ([System.Version ](Get-PinnedToolchainVersion ) -ne [System.Version ]" 0.0.0" ) {
1648
1650
$SwiftFlags += @ (" -Xcc" , " -D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH" );
You can’t perform that action at this time.
0 commit comments