Skip to content

Commit

Permalink
install fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjward committed Nov 20, 2024
1 parent ef565c7 commit ee70592
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion firedrake/scripts/firedrake-install
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,10 @@ if mode == "install":
# Need to install petsc first in order to resolve hdf5 dependency.
with environment(**compiler_env):
with pipargs("--no-deps"):
packages.remove("petsc")
try:
packages.remove("petsc")
except ValueError:
log.warning("PETSc wasn't in dependencies list")
install("petsc/")
os.environ["PETSC_DIR"] = petsc_dir
os.environ["PETSC_ARCH"] = petsc_arch
Expand Down

0 comments on commit ee70592

Please sign in to comment.