Skip to content
Snippets Groups Projects
Commit 7b1d0285 authored by Lars Bilke's avatar Lars Bilke
Browse files

[ci] Fix container job.

parent bb391078
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ create cpm cache:
- cd ext
- wget --no-verbose --output-document tfel-rliv-${TFEL_RLIV_VERSION}.zip https://github.com/thelfer/tfel/archive/refs/heads/rliv-${TFEL_RLIV_VERSION}.zip
- wget --no-verbose --output-document petsc-v${PETSC_VERSION}.zip https://gitlab.com/petsc/petsc/-/archive/v${PETSC_VERSION}/petsc-v${PETSC_VERSION}.zip
# Remove after upgrading PETSc to > 3.18
- wget --no-verbose --output-document f2cblaslapack-3.4.2.q4.tar.gz http://ftp.mcs.anl.gov/pub/petsc/externalpackages/f2cblaslapack-3.4.2.q4.tar.gz
- wget --no-verbose --output-document lis-${LIS_VERSION}.zip https://github.com/anishida/lis/archive/refs/tags/${LIS_VERSION}.zip
- wget --no-verbose --output-document hdf5-${HDF5_VERSION}.zip https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5-${HDF5_VERSION//./_}.zip
......
......@@ -159,12 +159,18 @@ if(OGS_USE_PETSC)
endif()
unset(ENV{PETSC_DIR})
# Remove after upgrading PETSc to > 3.18
file(
DOWNLOAD
http://ftp.mcs.anl.gov/pub/petsc/externalpackages/f2cblaslapack-3.4.2.q4.tar.gz
${CMAKE_CURRENT_BINARY_DIR}/f2cblaslapack-3.4.2.q4.tar.gz
)
BuildExternalProject(
PETSc ${_petsc_source}
LOG_OUTPUT_ON_FAILURE ON
CONFIGURE_COMMAND
./configure
--download-f2cblaslapack=1
--download-f2cblaslapack=${CMAKE_CURRENT_BINARY_DIR}/f2cblaslapack-3.4.2.q4.tar.gz
--prefix=<INSTALL_DIR>
--download-hypre
--with-debugging=$<CONFIG:Debug>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment