summaryrefslogtreecommitdiff
path: root/validate
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2016-01-18 00:16:35 +0100
committerBen Gamari <ben@smart-cactus.org>2016-01-18 00:16:36 +0100
commit2fd407cd28ea1c8fccb7a93d411d1cee690fa959 (patch)
tree0215c90d37da10aef8a5c522ab5f1b8c01fc3da2 /validate
parentf3a867e8aa0f6364aa3a152ca660c3c581412484 (diff)
downloadhaskell-2fd407cd28ea1c8fccb7a93d411d1cee690fa959.tar.gz
validate: Use gz compression during bindist check
Test Plan: validate, check that gz is used Reviewers: hvr, austin, thomie Reviewed By: thomie Differential Revision: https://phabricator.haskell.org/D1788 GHC Trac Issues: #11434
Diffstat (limited to 'validate')
-rwxr-xr-xvalidate8
1 files changed, 6 insertions, 2 deletions
diff --git a/validate b/validate
index d6bc1bfeb6..17350659ce 100755
--- a/validate
+++ b/validate
@@ -47,6 +47,10 @@ hpc=NO
speed=NORMAL
use_dph=0
be_quiet=0
+# Validate uses gzip compression for the binary distribution to avoid the rather
+# heavy cost of xz, which is the typical default. The options are defined in
+# mk/config.mk.in
+tar_comp=gzip
while [ $# -gt 0 ]
do
@@ -211,8 +215,8 @@ check_packages post-build
if [ $speed != "FAST" ]; then
- $make binary-dist-prep
- $make test_bindist TEST_PREP=YES
+ $make binary-dist-prep TAR_COMP=$tar_comp
+ $make test_bindist TEST_PREP=YES TAR_COMP=$tar_comp
#
# Install the xhtml package into the bindist.