diff --git a/ogscm/recipes/ogs.py b/ogscm/recipes/ogs.py index 92eb2303df18d995f7a46b81c6c47ada4756fde7..87f0cced90e9b5a89f4938388bee31a77b850234 100644 --- a/ogscm/recipes/ogs.py +++ b/ogscm/recipes/ogs.py @@ -529,9 +529,10 @@ 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"},