Skip to content

Commit

Permalink
msolve: improved the formula
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Jul 26, 2024
1 parent 1c5bc94 commit 71a7287
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Formula/msolve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ class Msolve < Formula

head "https://gitlab.lip6.fr/safey/msolve.git"

livecheck do
url :stable
strategy :github_latest
end

bottle do
root_url "https://ghcr.io/v2/macaulay2/tap"
sha256 cellar: :any, arm64_sonoma: "2926cc45c1f89a93c340756ceb18fac73a1c31a4ce8b8f4ae4ae99a7dcec66ba"
Expand All @@ -31,12 +36,9 @@ def install
end

system "autoreconf", "-vif"
system "./configure",
system "./configure", *std_configure_args,
"--disable-dependency-tracking",
"--disable-silent-rules",
"--enable-openmp=yes",
"--prefix=#{prefix}",
"--libdir=#{lib}",
"CC=#{ENV.cc} #{ENV["OPENMP_CFLAGS"]}"
system "make", "install"
end
Expand All @@ -56,6 +58,6 @@ def install
x8*x9-9,
x0+x1+x2+x3+x4+x5+x6+x7+x8+1
EOS
system "#{bin}/msolve", "-f", "eco10-31.ms"
system bin/"msolve", "-f", "eco10-31.ms"
end
end

0 comments on commit 71a7287

Please sign in to comment.