• Home
  • Raw
  • Download

Lines Matching +full:fetch +full:- +full:depth

3 rem Simple script to fetch source for external libraries
15 if "%~1"=="--no-tkinter" (set IncludeTkinter=false) & shift & goto CheckOpts
16 if "%~1"=="--no-openssl" (set IncludeSSL=false) & shift & goto CheckOpts
17 if "%~1"=="--no-libffi" (set IncludeLibffi=false) & shift & goto CheckOpts
18 if "%~1"=="--tkinter-src" (set IncludeTkinterSrc=true) & shift & goto CheckOpts
19 if "%~1"=="--openssl-src" (set IncludeSSLSrc=true) & shift & goto CheckOpts
20 if "%~1"=="--libffi-src" (set IncludeLibffiSrc=true) & shift & goto CheckOpts
21 if "%~1"=="--python" (set PYTHON=%2) & shift & shift & goto CheckOpts
22 if "%~1"=="--organization" (set ORG=%2) & shift & shift & goto CheckOpts
23 if "%~1"=="-c" (set DO_CLEAN=true) & shift & goto CheckOpts
24 if "%~1"=="--clean" (set DO_CLEAN=true) & shift & goto CheckOpts
25 if "%~1"=="--clean-only" (set DO_FETCH=false) & goto clean
28 if "%~1"=="--no-tkinter" shift & goto CheckOpts
29 if "%~1"=="--no-openssl" shift & goto CheckOpts
33 if "%DO_CLEAN%"=="false" goto fetch
42 :fetch label
54 set libraries=%libraries% bzip2-1.0.8
55 if NOT "%IncludeLibffiSrc%"=="false" set libraries=%libraries% libffi-3.3.0
56 if NOT "%IncludeSSLSrc%"=="false" set libraries=%libraries% openssl-1.1.1n
57 set libraries=%libraries% sqlite-3.37.2.0
58 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tcl-core-8.6.12.0
59 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tk-8.6.12.0
60 if NOT "%IncludeTkinterSrc%"=="false" set libraries=%libraries% tix-8.4.3.6
61 set libraries=%libraries% xz-5.2.2
62 set libraries=%libraries% zlib-1.2.11
69 …git clone --depth 1 https://github.com/%ORG%/cpython-source-deps --branch %%e "%EXTERNALS_DIR%\%%e"
72 %PYTHON% -E "%PCBUILD%\get_external.py" -O %ORG% -e "%EXTERNALS_DIR%" %%e
79 if NOT "%IncludeLibffi%"=="false" set binaries=%binaries% libffi-3.3.0
80 if NOT "%IncludeSSL%"=="false" set binaries=%binaries% openssl-bin-1.1.1n
81 if NOT "%IncludeTkinter%"=="false" set binaries=%binaries% tcltk-8.6.12.0
82 if NOT "%IncludeSSLSrc%"=="false" set binaries=%binaries% nasm-2.11.06
89 … git clone --depth 1 https://github.com/%ORG%/cpython-bin-deps --branch %%b "%EXTERNALS_DIR%\%%b"
92 %PYTHON% -E "%PCBUILD%\get_external.py" -b -O %ORG% -e "%EXTERNALS_DIR%" %%b
100 echo.Valid options: -c, --clean, --clean-only, --organization, --python,
101 echo.--no-tkinter, --no-openssl
106 echo.The --organization option determines which github organization to download
107 echo.from, the --python option determines which Python 3.6+ interpreter to use
110 echo.Use the -c or --clean option to remove the entire externals directory.
112 echo.Use the --clean-only option to do the same cleaning, without pulling in
115 exit /b -1