From 6e066b4ba499fae7994db94cd1fd5cd8a6c58d0f Mon Sep 17 00:00:00 2001 From: Mahrud Sayrafi Date: Fri, 1 Mar 2024 01:01:18 -0600 Subject: [PATCH] updated topcom formula --- Formula/topcom.rb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Formula/topcom.rb b/Formula/topcom.rb index a8f45b8..dfed3b4 100644 --- a/Formula/topcom.rb +++ b/Formula/topcom.rb @@ -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 @@ -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",