Skip to content
Snippets Groups Projects
Commit 53a58fad authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

fix build folder for clang

parent c6bda756
1 merge request!16MPI operators
Pipeline #24973 canceled
...@@ -18,7 +18,7 @@ config:bionic: ...@@ -18,7 +18,7 @@ config:bionic:
stage: configure stage: configure
script: script:
- "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/gcc-8 $CI_PROJECT_DIR/install/gcc-8 gcc-8 g++-8 gfortran-8" - "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/gcc-8 $CI_PROJECT_DIR/install/gcc-8 gcc-8 g++-8 gfortran-8"
- "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/clang-6 $CI_PROJECT_DIR/install/clang-8 clang-8 clang++-8 gfortran-8" - "bash ci/scripts/config.sh $CI_PROJECT_DIR/build/clang-8 $CI_PROJECT_DIR/install/clang-8 clang-8 clang++-8 gfortran-8"
dependencies: dependencies:
- env:bionic - env:bionic
artifacts: artifacts:
......
...@@ -6,8 +6,13 @@ if [ $# -ne 4 ]; then ...@@ -6,8 +6,13 @@ if [ $# -ne 4 ]; then
exit 1 exit 1
fi fi
BUILD_FOLDER="$1" BUILD_FOLDER="$1"
mkdir -p $BUILD_FOLDER if [ ! -d "$BUILD_FOLDER" ]; then
echo "Folder $1 has not been generated by previous step."
exit 1
fi
cd $BUILD_FOLDER cd $BUILD_FOLDER
if [ ! -f Makefile ]; then if [ ! -f Makefile ]; then
echo "The makefile has not been generated." echo "The makefile has not been generated."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment