Use "rep; nop" inside a spin-lock loop on x86/x86-64
[ghc-hetmet.git] / validate
index 3a59a1f..a0b9e16 100644 (file)
--- a/validate
+++ b/validate
@@ -54,9 +54,7 @@ fi
 if [ $testsuite_only -eq 0 ]; then
 
 if [ $no_clean -eq 0 ]; then
-    if [ -f mk/config.mk ]; then
-        make maintainer-clean NO_CLEAN_GMP=YES
-    fi
+    make maintainer-clean NO_CLEAN_GMP=YES
 
     INSTDIR=`pwd`/inst
     if [ "$OSTYPE" = "cygwin" ]
@@ -97,6 +95,9 @@ then
     rm -f $HPCTIXFILE
 fi
 
+make binary-dist-prep
+make -C bindisttest TEST_PREP=YES
+
 make -C testsuite/tests/ghc-regress fast stage=2 CLEANUP=1 THREADS=$threads 2>&1 | tee testlog
 
 if [ "$hpc" = YES ]