Skip to content

Commit 2d3c0f8

Browse files
committed
Always fetch externals via git in get_externals.bat (#186)
Avoids the get_external.py script which has issues using SSL on Windows. (cherry picked from commit 48b31b2)
1 parent 03297ad commit 2d3c0f8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

PCbuild/get_externals.bat

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,9 @@ set libraries=%libraries% zlib-1.2.11
6464
for %%e in (%libraries%) do (
6565
if exist "%EXTERNALS_DIR%\%%e" (
6666
echo.%%e already exists, skipping.
67-
) else if NOT DEFINED PYTHON (
67+
) else (
6868
echo.Fetching %%e with git...
6969
git clone --depth 1 https://github.com/%ORG%/cpython-source-deps --branch %%e "%EXTERNALS_DIR%\%%e"
70-
) else (
71-
echo.Fetching %%e...
72-
%PYTHON% -E "%PCBUILD%\get_external.py" -O %ORG% -e "%EXTERNALS_DIR%" %%e
7370
)
7471
)
7572

@@ -84,12 +81,9 @@ if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06
8481
for %%b in (%binaries%) do (
8582
if exist "%EXTERNALS_DIR%\%%b" (
8683
echo.%%b already exists, skipping.
87-
) else if NOT DEFINED PYTHON (
84+
) else (
8885
echo.Fetching %%b with git...
8986
git clone --depth 1 https://github.com/%ORG%/cpython-bin-deps --branch %%b "%EXTERNALS_DIR%\%%b"
90-
) else (
91-
echo.Fetching %%b...
92-
%PYTHON% -E "%PCBUILD%\get_external.py" -b -O %ORG% -e "%EXTERNALS_DIR%" %%b
9387
)
9488
)
9589

0 commit comments

Comments
 (0)