Skip to content
Permalink
Browse files

scripts/compare-compilers: fix some verbosity issues

It was printing worthless stuff like directory changes and the top-level
submake invocations

Signed-off-by: Steven Noonan <steven@uplinklabs.net>
  • Loading branch information...
tycho committed Mar 11, 2018
1 parent e59c747 commit dc0da86ce7a964f417f0cb4b97ce6f1fb80fe1cd
Showing with 5 additions and 3 deletions.
  1. +2 −0 GNUmakefile
  2. +3 −3 scripts/compare-compilers
@@ -2,6 +2,8 @@ BIN := nbody

CP := cp

QUIET := @

ifndef NATIVE_C11
DEPS += subprojects/c11/libc11.a
endif
@@ -21,8 +21,8 @@ for COMPILER in ${COMPILERS[@]}; do
echo
echo "Building with ${COMPILER}..."

make CC=${COMPILER} info-flags info-compiler | fmt -80 -t 2>&1 > ${NBODY}.buildinfo
make CC=${COMPILER} -j8
make --no-print-directory CC=${COMPILER} info-flags info-compiler | fmt -80 -t 2>&1 > ${NBODY}.buildinfo
make --no-print-directory CC=${COMPILER}
mv nbody ${NBODY}
BUILT_SOMETHING=1
done
@@ -33,7 +33,7 @@ if [[ $BUILT_SOMETHING ]]; then
fi
echo

make info-cpu info-os
make --no-print-directory info-cpu info-os

for COMPILER in ${COMPILERS[@]}; do
NBODY=nbody.${COMPILER##*/}

0 comments on commit dc0da86

Please sign in to comment.
You can’t perform that action at this time.