Skip to content

Commit

Permalink
ngsPETSc "stable" release is coming ! (#3857)
Browse files Browse the repository at this point in the history
  • Loading branch information
UZerbinati authored Nov 13, 2024
1 parent a59b15f commit 3b8a7a9
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions scripts/firedrake-install
Original file line number Diff line number Diff line change
Expand Up @@ -1375,23 +1375,6 @@ def build_and_install_slepc():
git_clone(url)


def build_and_install_netgen():
log.info("Installing NGSolve/Netgen.")
run_pip(["install", "netgen-mesher"])
log.info("Installing ngsPETSc.")
url = "git+https://github.com/NGSolve/ngsPETSc.git@main"
ngsPETSc_changed = False
if os.path.exists("ngsPETSc"):
ngsPETSc_changed |= git_update("ngsPETSc")
else:
git_clone(url)
ngsPETSc_changed = True
if ngsPETSc_changed:
with directory("ngsPETSc"):
with environment(NGSPETSC_NO_INSTALL_REQUIRED="ON"):
check_call([python, "-m", "pip", "install", "-e", "."])


def install_documentation_dependencies():
"""Just install the required dependencies. There are no provenance
issues here so no need to record this in the configuration dict."""
Expand Down Expand Up @@ -2089,7 +2072,7 @@ with environment(**compiler_env):
install("slepc4py/")

if options["netgen"]:
build_and_install_netgen()
packages += ["ngsPETSc"]

with pipargs("--no-deps"):
if options["opencascade"]:
Expand Down

0 comments on commit 3b8a7a9

Please sign in to comment.