Skip to content
Snippets Groups Projects
Commit 4994795c authored by Kristof Kessler's avatar Kristof Kessler
Browse files

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

parent 7e5997d6
No related branches found
No related tags found
1 merge request!6added check if --download-f2cblaslapack is already specified as petsc arg
...@@ -529,9 +529,10 @@ if local_args.ogs != "clean": ...@@ -529,9 +529,10 @@ if local_args.ogs != "clean":
"--CXXFLAGS='-O3'", "--CXXFLAGS='-O3'",
"--FFLAGS='-O3'", "--FFLAGS='-O3'",
"--with-debugging=no", "--with-debugging=no",
"--download-f2cblaslapack=1",
] ]
petsc_configure_opts.extend(petsc_args) 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( Stage0 += generic_autotools(
configure_opts=petsc_configure_opts, configure_opts=petsc_configure_opts,
devel_environment={"CMAKE_PREFIX_PATH": "/usr/local/petsc"}, 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