Skip to content
Snippets Groups Projects
Commit 33123e75 authored by Mulas, Giacomo's avatar Mulas, Giacomo
Browse files

update .gitlab-ci.yml for the new container, remove gcc 11, add clang 18 and 19

parent 82df0eee
No related branches found
No related tags found
No related merge requests found
......@@ -43,16 +43,16 @@ compatibility_stage:
- echo $CI_COMMIT_BRANCH
- echo "Getting system info ..."
- cat /etc/os-release
- echo "Running make with gnu compilers version 11..."
- mkdir build_gnu11
- cd build_gnu11
- cp -r ../build/* .
- CXX=g++-11 F77=gfortran-11 ./configure
- make wipe
- make -j
#- echo "Running make with gnu compilers version 11..."
#- mkdir build_gnu11
#- cd build_gnu11
#- cp -r ../build/* .
#- CXX=g++-11 F77=gfortran-11 ./configure
#- make wipe
#- make -j
- echo "Running make with gnu compilers version 12..."
- cd ..
- rm -rf build_gnu11
#- cd ..
#- rm -rf build_gnu11
- mkdir build_gnu12
- cd build_gnu12
- cp -r ../build/* .
......@@ -86,27 +86,45 @@ compatibility_stage:
- CXX=g++-14 F77=gfortran-14 ./configure --enable-refinement
- make wipe
- make -j
- echo "Running make with flang version 16 and clang version 16..."
#- echo "Running make with flang version 16 and clang version 16..."
- cd ..
- rm -rf build_gnu14_refine
- mkdir build_clang16
- cd build_clang16
- cp -r ../build/* .
- CXX=clang++-16 F77=flang-new-16 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13" --with-ldflags="-L/usr/lib/llvm-16/lib -L/usr/lib/gcc/x86_64-linux-gnu/13" --disable-openmp
- make wipe
- make -j
#- mkdir build_clang16
#- cd build_clang16
#- cp -r ../build/* .
#- CXX=clang++-16 F77=flang-new-16 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13" --with-ldflags="-L/usr/lib/llvm-16/lib -L/usr/lib/gcc/x86_64-linux-gnu/13" --disable-openmp
#- make wipe
#- make -j
- echo "Running make with flang version 17 and clang version 17..."
- cd ..
- rm -rf build_clang16
#- cd ..
#- rm -rf build_clang16
- mkdir build_clang17
- cd build_clang17
- cp -r ../build/* .
- CXX=clang++-17 F77=flang-new-17 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/13 -I/usr/include/x86_64-linux-gnu/c++/13" --with-ldflags="-L/usr/lib/llvm-17/lib -L/usr/lib/gcc/x86_64-linux-gnu/13" --disable-openmp
- CXX=clang++-17 F77=flang-new-17 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14" --with-ldflags="-L/usr/lib/llvm-17/lib -L/usr/lib/gcc/x86_64-linux-gnu/14" --disable-openmp
- make wipe
- make -j
#- echo "Running make with Intel ifort and Intel icpx..."
- cd ..
- rm -rf build_clang17
- echo "Running make with flang version 18 and clang version 18..."
- mkdir build_clang18
- cd build_clang18
- cp -r ../build/* .
- CXX=clang++-18 F77=flang-new-18 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14" --with-ldflags="-L/usr/lib/llvm-18/lib -L/usr/lib/gcc/x86_64-linux-gnu/14" --disable-openmp
- make wipe
- make -j
- cd ..
- rm -rf build_clang18
- echo "Running make with flang version 19 and clang version 19..."
- mkdir build_clang19
- cd build_clang19
- cp -r ../build/* .
- CXX=clang++-19 F77=flang-new-19 ./configure --with-fflags="-O3 -std=legacy" --with-include="-I/usr/include/c++/14 -I/usr/include/x86_64-linux-gnu/c++/14" --with-ldflags="-L/usr/lib/llvm-19/lib -L/usr/lib/gcc/x86_64-linux-gnu/14" --disable-openmp
- make wipe
- make -j
- cd ..
- rm -rf build_clang19
#- mkdir build_ifort_icpx
#- cd build_ifort_icpx
#- cp -r ../build/* .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment