-
Notifications
You must be signed in to change notification settings - Fork 808
/
Copy pathmake_all.bat
41 lines (32 loc) · 2.01 KB
/
make_all.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
@if "%1"=="quick" goto quick
if exist build\. rd /s/q build
if exist build\. goto couldnt_rm
:quick
py autoduck\make.py
@if errorlevel 1 goto failed
rem Check /build_env.md#build-environment to make sure you have all the required components installed
py -3.8-32 -m build --wheel
py -3.8 -m build --wheel
py -3.9-32 -m build --wheel
py -3.9 -m build --wheel
py -3.10-32 -m build --wheel
py -3.10 -m build --wheel
py -3.11-32 -m build --wheel
py -3.11 -m build --wheel
py -3.12-32 -m build --wheel
py -3.12 -m build --wheel
py -3.13-32 -m build --wheel
py -3.13 -m build --wheel
rem Check /build_env.md#build-environment to make sure you have all the required ARM64 components installed
py -3.10 -m build --wheel --config-setting=--build-option=build_ext --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=build --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=bdist_wheel --config-setting=--build-option=--plat-name=win-arm64
py -3.11 -m build --wheel --config-setting=--build-option=build_ext --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=build --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=bdist_wheel --config-setting=--build-option=--plat-name=win-arm64
py -3.12 -m build --wheel --config-setting=--build-option=build_ext --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=build --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=bdist_wheel --config-setting=--build-option=--plat-name=win-arm64
py -3.13 -m build --wheel --config-setting=--build-option=build_ext --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=build --config-setting=--build-option=--plat-name=win-arm64 --config-setting=--build-option=bdist_wheel --config-setting=--build-option=--plat-name=win-arm64
@goto xit
:couldnt_rm
@echo Could not remove the build directory!
goto xit
:failed
@echo Oops - failed!
@exit /b 1
:xit