Skip to content

Commit

Permalink
updated topcom formula
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Mar 1, 2024
1 parent 614e1f3 commit 6e066b4
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Formula/topcom.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ class Topcom < Formula
license "GPL-2.0-only"
revision 6

bottle do
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/topcom-1.1.2_6"
sha256 cellar: :any, arm64_monterey: "5651a74747628e62cb4786aef24a69af07ed32af38449f47d40a232835fca578"
sha256 cellar: :any, arm64_ventura: "3a7be1f7cb674b1ab31ebd06c8a6f93d112f93bbad3c0ef731e5e928f1af28e5"
sha256 cellar: :any, ventura: "6c8f018724d0b885ebe44507e9698f1e88d9ae7e39f4540d89809bd776511949"
sha256 cellar: :any, monterey: "123255b73771b5f28b0074b8569877adc509aea99f908cb32af88338a69ce2b4"
sha256 cellar: :any, big_sur: "e4b35050590e7639375aff7a20adb6fc863fccc1ad08e57c2988d8dbbb0aac34"
sha256 cellar: :any_skip_relocation, x86_64_linux: "1acd391b45a89bc3a8368ca7a0fe0b1ed542da6ade9c82573232b995fab7a4e7"
end

depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
Expand All @@ -24,6 +14,9 @@ class Topcom < Formula
depends_on "gmp"

def install
# An error occurs when the C++ compiler is detected as "clang++ -std=gnu++11"
inreplace "external/Makefile", "CC=${CXX}", "CC=\"${CXX}\""

# ENV.deparallelize
system "autoreconf", "-vif"
system "./configure",
Expand Down

0 comments on commit 6e066b4

Please sign in to comment.