d2dc9609c0b3f19d7036ce92aa93ff28357d9c7e
[ctsim.git] / scripts / make-single-openmp.sh
1 #!/bin/sh
2
3 DIR=/tmp
4 rm -rf $DIR/sng $DIR/omp
5 mkdir $DIR/sng $DIR/omp
6
7 (cd ..; make clean; (./configure --disable-openmp > /dev/null); grep HAVE_OPEN config.h; (make -j 20 > /dev/null); cp tools/ctsimtext src/ctsim $DIR/sng/.)
8 (cd ..; make clean; (./configure --enable-openmp > /dev/null); grep HAVE_OPEN config.h; (make -j 20 > /dev/null); cp tools/ctsimtext src/ctsim $DIR/omp/.)