Source

pep-456-benchmarks / pep456-env.sh

Full commit
#!/bin/sh

HERE=`pwd`
mkdir -p cpython-x64
mkdir -p cpython-x86
mkdir -p pep-456-x64
mkdir -p pep-456-x64-sso7
mkdir -p pep-456-x86
mkdir -p pep-456-x86-sso6

make -C cpython clean
make -C pep-456 clean

cd $HERE/cpython-x64
../cpython/configure --config-cache --silent
make -j6 -s

cd $HERE/cpython-x86
CFLAGS="-m32" LDFLAGS="-m32" ../cpython/configure --config-cache --silent
make -j6 -s

cd $HERE/pep-456-x64
../pep-456/configure --config-cache --silent
make -j6 -s

cd $HERE/pep-456-x64-sso7
CPPFLAGS="-DPy_HASH_CUTOFF=7" ../pep-456/configure --config-cache --silent
make -j6 -s

cd $HERE/pep-456-x86
CFLAGS="-m32" LDFLAGS="-m32" ../pep-456/configure --config-cache --silent
make -j6 -s

cd $HERE/pep-456-x86-sso6
CPPFLAGS="-DPy_HASH_CUTOFF=6" CFLAGS="-m32" LDFLAGS="-m32" ../pep-456/configure --config-cache --silent
make -j6 -s