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 d78409f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 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

Check failure on line 29 in Formula/mathicgb.rb

View workflow job for this annotation

GitHub Actions / test-bot (ubuntu-latest)

`brew install --verbose --build-bottle macaulay2/tap/mathicgb` failed on Linux!

==> Fetching macaulay2/tap/mathicgb ==> Cloning https://github.com/mahrud/mathicgb.git Updating /home/runner/.cache/Homebrew/mathicgb--git /usr/bin/env git config remote.origin.url https://github.com/mahrud/mathicgb.git /usr/bin/env git config remote.origin.fetch +refs/heads/master:refs/remotes/origin/master /usr/bin/env git config remote.origin.tagOpt --no-tags /usr/bin/env git config advice.detachedHead false /usr/bin/env git config core.fsmonitor false /usr/bin/env git fetch origin ==> Checking out branch master /usr/bin/env git checkout -f master -- Already on 'master' Your branch is up to date with 'origin/master'. /usr/bin/env git reset --hard origin/master -- HEAD is now at cdace24 add missing header ==> Installing mathicgb from macaulay2/tap /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/README.md /tmp/d20240218-166952-xfw8v3/README.md /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/gpl-2.0.txt /tmp/d20240218-166952-xfw8v3/gpl-2.0.txt /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/src/. /tmp/d20240218-166952-xfw8v3/src /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/configure.ac /tmp/d20240218-166952-xfw8v3/configure.ac /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/autogen.sh /tmp/d20240218-166952-xfw8v3/autogen.sh /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/examples/. /tmp/d20240218-166952-xfw8v3/examples /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/libs/. /tmp/d20240218-166952-xfw8v3/libs /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/cmake/. /tmp/d20240218-166952-xfw8v3/cmake /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/gpl-3.0.txt /tmp/d20240218-166952-xfw8v3/gpl-3.0.txt /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/.gitignore /tmp/d20240218-166952-xfw8v3/.gitignore /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/doc/. /tmp/d20240218-166952-xfw8v3/doc /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/fixspace /tmp/d20240218-166952-xfw8v3/fixspace /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/CMakeLists.txt /tmp/d20240218-166952-xfw8v3/CMakeLists.txt /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/Makefile.am /tmp/d20240218-166952-xfw8v3/Makefile.am /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/.git/. /tmp/d20240218-166952-xfw8v3/.git /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/build/. /tmp/d20240218-166952-xfw8v3/build /usr/bin/env cp -pR /home/runner/.cache/Homebrew/mathicgb--git/replace /tmp/d20240218-166952-xfw8v3/replace /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/README.md /tmp/mathicgb-20240218-166952-ssdm66/README.md /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/gpl-2.0.txt /tmp/mathicgb-20240218-166952-ssdm66/gpl-2.0.txt /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/src/. /tmp/mathicgb-20240218-166952-ssdm66/src /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/configure.ac /tmp/mathicgb-20240218-166952-ssdm66/configure.ac /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/autogen.sh /tmp/mathicgb-20240218-166952-ssdm66/autogen.sh /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/examples/. /tmp/mathicgb-20240218-166952-ssdm66/examples /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/libs/. /tmp/mathicgb-20240218-166952-ssdm66/libs /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/cmake/. /tmp/mathicgb-20240218-166952-ssdm66/cmake /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/gpl-3.0.txt /tmp/mathicgb-20240218-166952-ssdm66/gpl-3.0.txt /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/.gitignore /tmp/mathicgb-20240218-166952-ssdm66/.gitignore /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/doc/. /tmp/mathicgb-20240218-166952-ssdm66/doc /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/fixspace /tmp/mathicgb-20240218-166952-ssdm66/fixspace /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/CMakeLists.txt /tmp/mathicgb-20240218-166952-ssdm66/CMakeLists.txt /usr/bin/env cp -pR /tmp/d20240218-166952-xfw8v3/Makefile.am /tmp/mathicgb-20240218-
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

0 comments on commit d78409f

Please sign in to comment.