Skip to content

Commit

Permalink
Temp fix for firedrake install on Mac for Xcode16 (#3964)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ig-dolci authored Jan 10, 2025
1 parent 4109283 commit 8e1a748
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/firedrake-install
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,10 @@ def get_petsc_options(minimal=False):
# on macOS with parallel solvers. Its necessity is unclear, so a
# review in the future may be required.
petsc_options.add("--LDFLAGS=-Wl,-ld_classic,-dead_strip_dylibs")
if Version(clt["version"]) >= Version("16"):
# Should revisit this flag when the the issue https://gitlab.com/petsc/petsc/-/issues/1692
# is resolved.
petsc_options.add("--with-cxx-dialect=17")
elif options.get("with_blas") is not None:
petsc_options.add("--with-blaslapack-dir={}".format(options["with_blas"]))
if osname == "Darwin":
Expand Down

0 comments on commit 8e1a748

Please sign in to comment.