Commit 94cf0665 authored by Remi Perenon's avatar Remi Perenon

Compiling Fortran 2008 with gfortran-9 on macOS

parent 860c1d7f
Pipeline #8823 passed with stages
in 18 minutes and 9 seconds
......@@ -99,7 +99,7 @@ make:macos_ifort:
make:macos_gfortran_F2008:
stage: make
script:
- BuildServer/Unix/build_F2008.sh gfortran
- BuildServer/Unix/build_F2008.sh /usr/local/Cellar/gcc/9.3.0_1/bin/gfortran
tags:
- sci
- osx-10.13
......
compiler=$1
echo "Building CrysFML with ${compiler##/*}"
echo "Building CrysFML with ${compiler##*/}"
rm -Rf build_${compiler##/*}
mkdir build_${compiler##/*}
cd build_${compiler##/*}
rm -Rf build_${compiler##*/}
mkdir build_${compiler##*/}
cd build_${compiler##*/}
cmake -D ARCH32=OFF -D CMAKE_BUILD_TYPE=Debug -D CMAKE_Fortran_COMPILER=${compiler} -D USE_HDF=ON -D HDF5_INCLUDE_PATH=${HDF5_INCLUDE_PATH} -D HDF5_LIBRARY_PATH=${HDF5_LIBRARY_PATH} ..
cmake --build . && ctest
\ No newline at end of file
compiler=$1
echo "Building CrysFML08 with ${compiler##/*}"
echo "Building CrysFML08 with ${compiler##*/}"
rm -Rf build_${compiler##/*}_F2008
mkdir build_${compiler##/*}_F2008
cd build_${compiler##/*}_F2008
rm -Rf build_${compiler##*/}_F2008
mkdir build_${compiler##*/}_F2008
cd build_${compiler##*/}_F2008
cmake -D CRYSFML08=ON -D ARCH32=OFF -D PROG_EX=OFF -D CMAKE_BUILD_TYPE=Debug -D CMAKE_Fortran_COMPILER=${compiler} ..
cmake --build .
\ No newline at end of file
compiler=$1
echo "Building CrysFML with ${compiler##/*}"
echo "Building CrysFML with ${compiler*##/}"
rm -Rf build_release
mkdir build_release
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment