1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 15:55:37 +00:00
Grid/scripts/build-all

46 lines
828 B
Plaintext
Raw Normal View History

#!/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"
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
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
done
2015-05-16 07:16:45 +01:00
fi