2015-05-15 12:21:10 +01:00
|
|
|
#!/bin/bash
|
2015-05-16 06:40:10 +01:00
|
|
|
|
2015-05-16 07:16:45 +01:00
|
|
|
DIRS="clang-avx clang-avx-openmp clang-avx-openmp-mpi clang-avx-mpi clang-avx2 clang-avx2-openmp clang-avx2-openmp-mpi clang-avx2-mpi"
|
|
|
|
EXTRADIRS="g++-avx g++-sse4 icpc-avx icpc-avx2 icpc-avx512"
|
|
|
|
BLACK="\033[30m"
|
|
|
|
RED="\033[31m"
|
|
|
|
GREEN="\033[32m"
|
|
|
|
YELLOW="\033[33m"
|
|
|
|
BLUE="\033[34m"
|
|
|
|
PINK="\033[35m"
|
|
|
|
CYAN="\033[36m"
|
|
|
|
WHITE="\033[37m"
|
|
|
|
NORMAL="\033[0;39m"
|
2015-05-15 12:21:10 +01:00
|
|
|
|
|
|
|
for D in $DIRS
|
|
|
|
do
|
2015-05-16 07:16:45 +01:00
|
|
|
|
|
|
|
echo
|
|
|
|
echo -e $RED ==============================
|
|
|
|
echo -e $GREEN $D
|
|
|
|
echo -e $RED ==============================
|
|
|
|
echo -e $BLUE
|
|
|
|
|
|
|
|
cd builds/$D
|
|
|
|
make clean all -j 8
|
|
|
|
cd ../../
|
|
|
|
echo -e $NORMAL
|
|
|
|
done
|
|
|
|
|
|
|
|
if [ "X$1" == "Xextra" ]
|
|
|
|
then
|
|
|
|
for D in $EXTRADIRS
|
|
|
|
do
|
|
|
|
|
|
|
|
echo
|
|
|
|
echo -e $RED ==============================
|
|
|
|
echo -e $RED $D
|
|
|
|
echo -e $RED ==============================
|
|
|
|
echo -e $BLUE
|
|
|
|
|
2015-05-16 06:40:10 +01:00
|
|
|
cd builds/$D
|
2015-05-15 12:21:10 +01:00
|
|
|
make clean all -j 8
|
2015-05-16 06:40:10 +01:00
|
|
|
cd ../../
|
2015-05-16 07:16:45 +01:00
|
|
|
echo -e $NORMAL
|
2015-05-15 12:21:10 +01:00
|
|
|
done
|
2015-05-16 07:16:45 +01:00
|
|
|
fi
|