Skip to content

Instantly share code, notes, and snippets.

@rurban
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rurban/4bff3d8206184fd1759b to your computer and use it in GitHub Desktop.
Save rurban/4bff3d8206184fd1759b to your computer and use it in GitHub Desktop.
smoke parrot
#!/bin/sh
set -x
export TEST_JOBS=4
perl Configure.pl --silent --debugging --cage && make -j4 -s && \
make -j4 -s fulltest
for args in --debugging --m=32 --optimize; do
for cc in g++-4.4 g++-4.5 g++-4.6 g++-4.7 g++-4.8 g++-4.9 \
gcc-4.4 gcc-4.5 gcc-4.6 gcc-4.7 gcc-4.8 gcc-4.9 \
clang-3.5 clang3.5++ clang-3.4 clang++-3.4 clang-3.0; do
perl Configure.pl --silent --cc=$cc --ld=$cc --link=$cc $args && make -j4 -s smoke
done
done
make -j4 -s smoke VALGRIND="valgrind --log-file=valgrind.log"
make -j4 -s smoke VALGRIND="helgrind --log-file=helgrind.log"
if [ -f ../asan.sh ]; then
../asan.sh && make -j4 -s smoke
fi
for lib in icu libffi pcre gmp readline gettext opengl zlib; do
perl Configure.pl --silent --without-$lib && make -j4 -s smoke
done
perl Configure.pl --silent --with-llvm && make -j4 -s smoke
for feat in threads shared static rpath; do
perl Configure.pl --silent --disable-$feat && make -j4 -s smoke
done
# gms is the default gc
for gc in ms2 ms inf; do
perl Configure.pl --silent --gc=$gc && make -j4 -s smoke
done
for floatval in float double "long double" __float128; do
perl Configure.pl --silent --floatval="$floatval" && make -j4 -s smoke
done
for intval in short int long "long long"; do
perl Configure.pl --silent --intval="$intval" && make -j4 -s smoke
done
for opcode in int long "long long"; do
perl Configure.pl --silent --opcode="$opcode" && make -j4 -s smoke
done
for flags in -DMEMORY_DEBUG -DTHREAD_DEBUG; do
perl Configure.pl --silent --debugging --ccflags=$flags && make -j4 -s smoke
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment