diff --git a/Formula/mathicgb.rb b/Formula/mathicgb.rb index f1f9eb9..bade1f5 100644 --- a/Formula/mathicgb.rb +++ b/Formula/mathicgb.rb @@ -4,7 +4,7 @@ class Mathicgb < Formula url "https://github.com/mahrud/mathicgb.git", using: :git, branch: "master" version "1.0" license "GPL-2.0-or-later" - revision 7 + revision 8 bottle do root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/mathicgb-1.0_7" @@ -24,7 +24,7 @@ class Mathicgb < Formula depends_on "mathic" depends_on "memtailor" - depends_on "tbb@2020_u3" => :recommended + depends_on "tbb@2020" => :recommended def install ENV.cxx11 @@ -32,7 +32,7 @@ def install args << "-DBUILD_TESTING=off" args << "-DCMAKE_PREFIX_PATH=#{Formula["memtailor"].prefix};#{Formula["mathic"].prefix}" args << "-Denable_mgb=off" if build.without?("mgb") - args << "-Dwith_tbb=on" << "-DTBB_ROOT_DIR=#{Formula["tbb@2020_u3"].prefix}" if build.with?("tbb@2020_u3") + args << "-Dwith_tbb=on" << "-DTBB_ROOT_DIR=#{Formula["tbb@2020"].prefix}" if build.with?("tbb@2020") system "cmake", ".", *args system "make", "install" end