X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=validate;h=1852358da6a1be84262b1eb2156a64f1b52bba7b;hp=7949d6299fe04366d1a8cf8e37706ee67cdf1766;hb=290967b3ff872ee3fecbd42aa9808037cf0ccdac;hpb=2924c4bc8e4a433c1816695d22319b63a328b418 diff --git a/validate b/validate index 7949d62..1852358 100644 --- a/validate +++ b/validate @@ -1,4 +1,6 @@ -#!/bin/sh -e +#!/bin/sh + +set -e if [ -f mk/config.mk ]; then make distclean @@ -25,13 +27,9 @@ case $OSTYPE in esac if [ "$CPUS" = "" ]; then - # ToDo: make -j doesn't work in libraries/ on Windows (see #1559) - case $OSTYPE in - cygwin|msys) threads=1;; - *) threads=2;; - esac + threads=2 else - threads=`expr $CPUS + 1` + threads=`expr $CPUS + 1` fi sh boot