Skip to content

Commit

Permalink
refresh-ghc-bin.bash: don't enable tests for USE=binary install as well
Browse files Browse the repository at this point in the history
Sometimes USE=binary ghc depends pull in newer automake
and it runs it's slow testsuite.

Signed-off-by: Sergei Trofimovich <siarheit@google.com>
  • Loading branch information
trofi committed Jul 23, 2015
1 parent d418106 commit 476dcb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/refresh-ghc-bin.bash
Expand Up @@ -140,15 +140,15 @@ run mkdir "${chroot_temp}"

cat >refresh-ghc.bash <<-EOF
echo "Installing stable binary ghc"
USE="binary ${USE}" emerge --verbose --oneshot dev-lang/ghc || exit 1
FEATURES="${FEATURES} -test" USE="binary ${USE}" emerge --verbose --oneshot dev-lang/ghc || exit 1
echo "Building pkg '${needed_atom}'"
mkdir -p /etc/portage/package.accept_keywords
mkdir -p /etc/portage/package.unmask
echo "${needed_atom} ~${target_arch} **" > /etc/portage/package.accept_keywords/ghc
echo "${needed_atom}" > /etc/portage/package.unmask/ghc
mkdir -p /etc/portage/package.use
echo "${needed_atom} -binary doc ghcbootstrap ghcmakebinary ${USE}" > /etc/portage/package.use/ghc
FEATURES="${FEATURES} -test" emerge --verbose --buildpkg=y "${needed_atom}"
FEATURES="${FEATURES} -test" emerge --verbose --buildpkg=y "${needed_atom}"
EOF

cat >store-results.bash <<-EOF
Expand Down

0 comments on commit 476dcb7

Please sign in to comment.