Skip to content

Commit

Permalink
Merge branch 'petsc-fix' into 'master'
Browse files Browse the repository at this point in the history
[cmake] Remove --with-cc[x] configure opts to PETSc.

Closes #3438

See merge request ogs/ogs!4772
  • Loading branch information
bilke committed Oct 23, 2023
2 parents 2c4e1f3 + 048076d commit 6cae0ae
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/cmake/DependenciesExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,6 @@ if(OGS_USE_PETSC)
if(NOT "--download-fc" IN_LIST OGS_PETSC_CONFIG_OPTIONS)
list(APPEND _configure_opts --with-fc=0)
endif()
if(NOT "${HOSTNAME}" MATCHES "frontend.*")
if(DEFINED ENV{CC})
list(APPEND _configure_opts --with-cc=$ENV{CC})
endif()
if(DEFINED ENV{CXX})
list(APPEND _configure_opts --with-cxx=$ENV{CXX})
endif()
endif()

unset(ENV{PETSC_DIR})
BuildExternalProject(
Expand Down

0 comments on commit 6cae0ae

Please sign in to comment.