Skip to content

Commit

Permalink
replaced tbb@2020 with tbb for mathicgb
Browse files Browse the repository at this point in the history
  • Loading branch information
mahrud committed Feb 18, 2024
1 parent b3bcbeb commit 63fef81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/mathicgb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 8
revision 9

bottle do
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/mathicgb-1.0_8"
Expand Down Expand Up @@ -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"].prefix}" if build.with?("tbb@2020")
args << "-Dwith_tbb=on" << "-DTBB_ROOT_DIR=#{Formula["tbb"].prefix}" if build.with?("tbb")
system "cmake", ".", *args
system "make", "install"
end
Expand Down

0 comments on commit 63fef81

Please sign in to comment.