Difficult-Rocket/nuitka1-complie.ps1

12 lines
771 B
PowerShell
Raw Normal View History

2022-11-18 23:57:03 +08:00
$start_time = Get-Uptime
2022-11-20 20:25:46 +08:00
Write-Output $start_time
2022-11-23 07:30:51 +08:00
python3.8.exe -m nuitka --jobs=24 --clang --lto=no --mingw64 --show-memory --show-progress --output-dir=build/nuitka1 --include-data-dir=./configs=./configs --include-data-dir=./libs/fonts=./libs/fonts --include-data-dir=./textures=./textures --include-data-dir=./libs/pyglet=./pyglet --enable-plugin=numpy --nofollow-import-to=objprint,numpy,pillow,cffi,PIL,pyglet --standalone $args .\DR.py
2022-11-18 23:57:03 +08:00
$end_time = Get-Uptime
$out = $end_time.TotalMilliseconds - $start_time.TotalMilliseconds
2022-11-22 11:43:46 +08:00
Write-Output $end_time.TotalSeconds $start_time.TotalSeconds $out s
2022-11-20 20:25:46 +08:00
Write-Output $start_time $end_time
2022-11-23 07:30:51 +08:00
Write-Output "--jobs=24 --clang --mingw64 --lto=no and ($args)"
2022-11-18 23:57:03 +08:00
# --include-data-dir=./libs/pyglet=./pyglet
# --run
# --disable-ccache