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
Loading
Loading
Loading
Loading
+37 −19
Original line number Original line Diff line number Diff line
@@ -43,16 +43,16 @@ compatibility_stage:
      - echo $CI_COMMIT_BRANCH
      - echo $CI_COMMIT_BRANCH
      - echo "Getting system info ..."
      - echo "Getting system info ..."
      - cat /etc/os-release
      - cat /etc/os-release
      - echo "Running make with gnu compilers version 11..."
      #- echo "Running make with gnu compilers version 11..."
      - mkdir build_gnu11
      #- mkdir build_gnu11
      - cd build_gnu11
      #- cd build_gnu11
      - cp -r ../build/* .
      #- cp -r ../build/* .
      - CXX=g++-11 F77=gfortran-11 ./configure
      #- CXX=g++-11 F77=gfortran-11 ./configure
      - make wipe
      #- make wipe
      - make -j
      #- make -j
      - echo "Running make with gnu compilers version 12..."
      - echo "Running make with gnu compilers version 12..."
      - cd ..
      #- cd ..
      - rm -rf build_gnu11
      #- rm -rf build_gnu11
      - mkdir build_gnu12
      - mkdir build_gnu12
      - cd build_gnu12
      - cd build_gnu12
      - cp -r ../build/* .
      - cp -r ../build/* .
@@ -86,27 +86,45 @@ compatibility_stage:
      - CXX=g++-14 F77=gfortran-14 ./configure --enable-refinement
      - CXX=g++-14 F77=gfortran-14 ./configure --enable-refinement
      - make wipe
      - make wipe
      - make -j
      - 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 ..
      - cd ..
      - rm -rf build_gnu14_refine
      - rm -rf build_gnu14_refine
      - mkdir build_clang16
      #- mkdir build_clang16
      - cd build_clang16
      #- cd build_clang16
      - cp -r ../build/* .
      #- 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
      #- 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 wipe
      - make -j
      #- make -j
      - echo "Running make with flang version 17 and clang version 17..."
      - echo "Running make with flang version 17 and clang version 17..."
      - cd ..
      #- cd ..
      - rm -rf build_clang16
      #- rm -rf build_clang16
      - mkdir build_clang17
      - mkdir build_clang17
      - cd build_clang17
      - cd build_clang17
      - cp -r ../build/* .
      - 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 wipe
      - make -j
      - make -j
      #- echo "Running make with Intel ifort and Intel icpx..."
      #- echo "Running make with Intel ifort and Intel icpx..."
      - cd ..
      - cd ..
      - rm -rf build_clang17
      - 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
      #- mkdir build_ifort_icpx
      #- cd build_ifort_icpx
      #- cd build_ifort_icpx
      #- cp -r ../build/* .
      #- cp -r ../build/* .