Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced tbb@2020 with tbb for mathicgb #208

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Formula/mathic.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Mathic < Formula
url "https://github.com/Macaulay2/mathic.git", using: :git, branch: "master"
version "1.0"
license "LGPL-2.0-or-later"
revision 4
revision 5

bottle do
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/mathic-1.0_4"
Expand Down
8 changes: 4 additions & 4 deletions Formula/mathicgb.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class Mathicgb < Formula
desc "Compute (signature) Groebner bases using the fast datastructures from mathic"
homepage "https://github.com/Macaulay2/mathicgb"
url "https://github.com/mahrud/mathicgb.git", using: :git, branch: "master"
url "https://github.com/Macaulay2/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 All @@ -24,15 +24,15 @@ class Mathicgb < Formula
depends_on "mathic"
depends_on "memtailor"

depends_on "tbb@2020" => :recommended
depends_on "tbb" => :recommended

def install
ENV.cxx11
args = std_cmake_args
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
2 changes: 1 addition & 1 deletion Formula/memtailor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Memtailor < Formula
url "https://github.com/Macaulay2/memtailor.git", using: :git, branch: "master"
version "1.0"
license "BSD-3-Clause"
revision 9
revision 10

bottle do
root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/memtailor-1.0_9"
Expand Down
Loading