mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 19:25:35 +08:00
fix 7zip in Windows packager script for generate_emu_config + dynamic thread count detection
This commit is contained in:
parent
de7da1111f
commit
04cada5c69
@ -10,8 +10,14 @@ set "out_dir=build\win\package"
|
||||
|
||||
set /a MEM_PERCENT=90
|
||||
set /a DICT_SIZE_MB=384
|
||||
set /a THREAD_COUNT=13
|
||||
set "packager=third-party\deps\win\7za-win\7za.exe"
|
||||
set "packager=third-party\deps\win\7za\7za.exe"
|
||||
|
||||
:: use 70%
|
||||
if defined NUMBER_OF_PROCESSORS (
|
||||
set /a THREAD_COUNT=NUMBER_OF_PROCESSORS*70/100
|
||||
) else (
|
||||
set /a THREAD_COUNT=2
|
||||
)
|
||||
|
||||
if not exist "%packager%" (
|
||||
1>&2 echo [X] packager app wasn't found
|
||||
|
Loading…
Reference in New Issue
Block a user