Skip to content

Commit

Permalink
ipopt: revision bump (ampl-asl 1.0.0)
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <rui@chenrui.dev>
  • Loading branch information
chenrui333 authored and daeho-ro committed Nov 23, 2024
1 parent 66fb038 commit 6de4485
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/i/ipopt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ class Ipopt < Formula
url "/~https://github.com/coin-or/Ipopt/archive/refs/tags/releases/3.14.16.tar.gz"
sha256 "cc8c217991240db7eb14189eee0dff88f20a89bac11958b48625fa512fe8d104"
license "EPL-2.0"
revision 1
head "/~https://github.com/coin-or/Ipopt.git", branch: "stable/3.14"

bottle do
Expand All @@ -18,7 +19,7 @@ class Ipopt < Formula

depends_on "openjdk" => :build
depends_on "pkg-config" => [:build, :test]
depends_on "ampl-mp"
depends_on "ampl-asl"
depends_on "gcc" # for gfortran
depends_on "openblas"

Expand Down Expand Up @@ -84,8 +85,8 @@ def install
"--with-blas=-L#{Formula["openblas"].opt_lib} -lopenblas",
"--with-mumps-cflags=-I#{buildpath}/mumps_include",
"--with-mumps-lflags=-L#{lib} -ldmumps -lmpiseq -lmumps_common -lopenblas -lpord",
"--with-asl-cflags=-I#{Formula["ampl-mp"].opt_include}/asl",
"--with-asl-lflags=-L#{Formula["ampl-mp"].opt_lib} -lasl",
"--with-asl-cflags=-I#{Formula["ampl-asl"].opt_include}/asl",
"--with-asl-lflags=-L#{Formula["ampl-asl"].opt_lib} -lasl",
]

system "./configure", *args
Expand Down

0 comments on commit 6de4485

Please sign in to comment.