From 4b4fddb755b36677c69358c7cbdc2f63c1866b6f Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 25 Nov 2023 07:51:05 +0100 Subject: [PATCH] use the PETSc way for flags --- .github/workflows/Fortran.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Fortran.yml b/.github/workflows/Fortran.yml index 4ae9fcbcb..78537b353 100644 --- a/.github/workflows/Fortran.yml +++ b/.github/workflows/Fortran.yml @@ -130,7 +130,8 @@ jobs: - name: PETSc - Installation run: | cd petsc-${PETSC_VERSION} - COPTFLAGS='-O0' FOPTFLAGS='-O0' CXXOPTFLAGS='-O0' ./configure --with-fc=gfortran-${GCC_V} --with-cc=gcc-${GCC_V} --with-cxx=g++-${GCC_V} \ + ./configure --with-fc=gfortran-${GCC_V} --with-cc=gcc-${GCC_V} --with-cxx=g++-${GCC_V} \ + --CFLAGS='-O0' --CXXFLAGS='-O0' --FFLAGS='-O0' \ --download-openmpi --download-fftw --download-hdf5 --download-zlib --download-make \ --download-hdf5-fortran-bindings=1 --with-mpi-f90module-visibility=1 make all