scripts/make-single-openmp.sh
raw| 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/.) |