Skip to content

Commit 80c77b9

Browse files
committed
ENH: Improve Windows tarball compress
>2GB to <800MB. Under the 2GB GitHub Release limit. Based on suggestions here: https://superuser.com/questions/281573/what-are-the-best-options-to-use-when-compressing-files-using-7-zip
1 parent 570f6b5 commit 80c77b9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scripts/windows-build-tarball.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# This script creates a tarball of the ITK Python package build tree. It is
2-
# downloaded by the external module build scripts and used to build their
3-
# Python package on GitHub CI services.
4-
5-
cd C:\P\
6-
Remove-Item IPP\dist\*
7-
C:\7-Zip\7z.exe a -r 'C:\P\ITKPythonBuilds-windows.zip' -w 'C:\P\IPP' -mem=AES256
1+
# This script creates a tarball of the ITK Python package build tree. It is
2+
# downloaded by the external module build scripts and used to build their
3+
# Python package on GitHub CI services.
4+
5+
cd C:\P\
6+
Remove-Item IPP\dist\*
7+
C:\7-Zip\7z.exe a -t7z -mx=9 -mfb=273 -ms -md=31 -myx=9 -mtm=- -mmt -mmtf -md=1536m -mmf=bt3 -mmc=10000 -mpb=0 -mlc=0 -r 'C:\P\ITKPythonBuilds-windows.zip' -w 'C:\P\IPP'

0 commit comments

Comments
 (0)