Harald Schilly wrote:
> It would be a small change in the sage-bdist script, but i don't know
> if there are any other considerations? Adding "--best" is also wise,
> since it just expands the moving window when compressing.
>>From me +1 ;)
>
> H
>
I'm just in the process of updating the file, and currently have at the bottom:
# tar zcvf, which was used in the previous version of this file,
# is not portable. The 'z' (for gzip) or 'j' (for bzip2)
# is not POSIX, but a GNU-specific flag.
# It is better to create the tar archive and pipe it to
# the compression program. That is better than creating
# the tar file first, as that would mean more disk space
# is needed. The '-c' option to gzip or bzip2 will write
# to standard output.
echo "Creating compressed binary $TARGET.tar.gz"
tar cvf - $TARGET | gzip --best -c > "$TARGET".tar.gz
# bzip2 compresses better than gzip, but takes more CPU time
# echo "Creating compressed binary $TARGET.tar.bz2"
# tar cvf - $TARGET | bzip2 --best -c > "$TARGET".tar.bz2
I would add, I'm in the process of creating the .gz, so can't say if this works
or not yet. The machine is very old I am doing this on!
dave
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org