diff options
author | Rui Paulo <rpaulo@FreeBSD.org> | 2015-02-17 23:13:45 +0000 |
---|---|---|
committer | Rui Paulo <rpaulo@FreeBSD.org> | 2015-02-17 23:13:45 +0000 |
commit | bd9cab6fb43aa1cebd5b0c4b05201146dae3c1a9 (patch) | |
tree | 181c8e7a389a498a40bfe0992ef7294305bb28e2 /release/Makefile.vm | |
parent | 4ac6485cc6f268da149f5d4ea43bd871fdf24fd2 (diff) | |
download | src-bd9cab6fb43aa1cebd5b0c4b05201146dae3c1a9.tar.gz src-bd9cab6fb43aa1cebd5b0c4b05201146dae3c1a9.zip |
release: use xz via pipe when compressing the tarballs.
libarchive(3) doesn't support the new liblzma API yet, but this change
allows us to enable multi-threaded xz compression.
``make release'' should now finish in half the time on a machine with
several cores and fast disks (our typical build server).
This behaviour only applies when building a release and it doesn't
affect buildworld/installworld. To disable threaded xz compression,
set XZ_THREADS=1.
Reviewed by: gjb
Tested by: gjb
Notes
Notes:
svn path=/head/; revision=278926
Diffstat (limited to 'release/Makefile.vm')
-rw-r--r-- | release/Makefile.vm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm index 34f31665fbce..50365f579eb3 100644 --- a/release/Makefile.vm +++ b/release/Makefile.vm @@ -101,7 +101,7 @@ vm-install: # the DESTDIR. . for FORMAT in ${VMFORMATS} # Don't keep the originals. There is a copy in ${.OBJDIR} if needed. - ${XZCMD} ${XZ_FLAGS} ${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT} + ${XZ_CMD} ${DESTDIR}/vmimages/${OSRELEASE}.${FORMAT} . endfor . endif cd ${DESTDIR}/vmimages && sha256 ${OSRELEASE}* > \ |