Skip to content

Commit 1ed0784

Browse files
authored
Update WindowsBuild.md
Deal with different python versions being installed. GYB is python2 only and breaks with python 3.x. Ensure that we pick up python 2.7 when building (this is the version vended by Visual Studio and is the stable 2.x series release).
1 parent 6864b82 commit 1ed0784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/WindowsBuild.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ cmake -G Ninja^
174174
-DSWIFT_WINDOWS_x86_64_ICU_I18N_INCLUDE="S:/thirdparty/icu4c-63_1-Win64-MSVC2017/include"^
175175
-DSWIFT_WINDOWS_x86_64_ICU_I18N="S:/thirdparty/icu4c-63_1-Win64-MSVC2017/lib64/icuin.lib"^
176176
-DCMAKE_INSTALL_PREFIX="C:\Library\Developer\Toolchains\unknown-Asserts-development.xctoolchain\usr"^
177+
-DPYTHON_EXECUTABLE=C:\Python27\python.exe^
177178
S:\swift
178179
popd
179180
cmake --build "S:\b\swift"

0 commit comments

Comments
 (0)