]> https://gitweb.dealii.org/ - candi.git/commitdiff
CI: osx use gcc-11 to fix compilation 325/head
authorTimo Heister <timo.heister@gmail.com>
Wed, 8 Feb 2023 01:17:49 +0000 (20:17 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 9 Feb 2023 00:53:29 +0000 (19:53 -0500)
test

a

a

f

.github/workflows/main.yml

index 490f6c3a1a51ad043516890b450df53068140fd2..16b645f8cf72e963bc0f976a11084aecf5bdbe22 100644 (file)
@@ -78,24 +78,12 @@ jobs:
       - uses: actions/checkout@v3
       - name: setup
         run: |
-          # Force cmake version 3.20.5
-          pip install cmake==3.20.5
-          echo "/Library/Frameworks/Python.framework/Versions/2.7/bin" >> $GITHUB_PATH
-
-          # Update packages
-          brew update
-          brew upgrade
-
-          # Install openmpi
-          brew install openmpi
-
-          # Reinstall gcc
-          brew reinstall gcc@9
+          brew install openmpi gcc@11
 
       - name: info
         run: |
           # Export the compilers
-          export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
+          export OMPI_CXX=g++-11; export OMPI_CC=gcc-11; export OMPI_FC=gfortran-11
 
           # Show compilers and cmake versions
           mpicc --version
@@ -107,7 +95,7 @@ jobs:
       - name: build
         run: |
           # Export the compilers
-          export OMPI_CXX=g++-9; export OMPI_CC=gcc-9; export OMPI_FC=gfortran-9
+          export OMPI_CXX=g++-11; export OMPI_CC=gcc-11; export OMPI_FC=gfortran-11
 
           # Compile dealii in DEBUG mode only
           echo 'DEAL_II_CONFOPTS="-D CMAKE_BUILD_TYPE=Debug"' >> candi.cfg

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.