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

Merge branch 'blaslapack-conditional-download' into 'main'

added check if --download-f2cblaslapack is already specified as petsc arg

See merge request !6
parents 7e5997d6 9dd5d0e1
No related branches found
No related tags found
1 merge request!6added check if --download-f2cblaslapack is already specified as petsc arg
......@@ -32,7 +32,7 @@ dev images:
- if: $CI_COMMIT_BRANCH == "main"
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- black --check ogscm
- black --diff --check ogscm
- poetry install
- poetry run ogscm compiler.py ogs.py -B --ogs off --cpu-target $CPU_TARGET
- poetry run ogscm compiler.py ogs.py ogs_jupyter.py -B -R --build_args ' --progress=plain' --cvode --ccache --cpmcache --mfront --cpu-target $CPU_TARGET --cmake_args ' -DOGS_CPU_ARCHITECTURE=OFF -DOGS_BUILD_TESTING=OFF -DOGS_BUILD_PROCESSES=SteadyStateDiffusion' --runtime_base_image 'registry.opengeosys.org/ogs/ogs/jupyter/base-notebook-ubuntu:22.04_3.10'
......
......@@ -529,9 +529,14 @@ if local_args.ogs != "clean":
"--CXXFLAGS='-O3'",
"--FFLAGS='-O3'",
"--with-debugging=no",
"--download-f2cblaslapack=1",
]
petsc_configure_opts.extend(petsc_args)
if "--download-f2cblaslapack" not in local_args.petsc_configure_args:
petsc_configure_opts.extend(
[
"--download-f2cblaslapack=1",
]
)
Stage0 += generic_autotools(
configure_opts=petsc_configure_opts,
devel_environment={"CMAKE_PREFIX_PATH": "/usr/local/petsc"},
......
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