Skip to content

Commit

Permalink
Commit the patch
Browse files Browse the repository at this point in the history
  • Loading branch information
whophil committed Jun 6, 2021
1 parent 46a03ee commit 4ba79c3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions conda.recipe/patch-IPOPT-setup-for-conda.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/pyoptsparse/pyIPOPT/setup.py b/pyoptsparse/pyIPOPT/setup.py
index f875ca2..c2ebf0d 100644
--- a/pyoptsparse/pyIPOPT/setup.py
+++ b/pyoptsparse/pyIPOPT/setup.py
@@ -51,7 +51,7 @@ def configuration(parent_package="", top_path=None):
"pyipoptcore",
FILES,
library_dirs=[IPOPT_LIB],
- libraries=["ipopt", "coinmumps", "coinmetis", "dl", "m", "blas", "lapack"],
+ libraries=["ipopt", "mumps_common_seq", "scotchmetis", "dl", "m", "blas", "lapack"],
extra_link_args=["-Wl,-rpath,%s -L%s" % (IPOPT_LIB, IPOPT_LIB)],
include_dirs=[numpy_include, IPOPT_INC],
)

0 comments on commit 4ba79c3

Please sign in to comment.