diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0721209..c60cc39 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,7 +8,7 @@ jobs: test-bot: strategy: matrix: - os: [ubuntu-22.04, macos-13] + os: [ubuntu-22.04, macos-13, flyci-macos-large-latest-m1] runs-on: ${{ matrix.os }} steps: - name: Set up Homebrew diff --git a/Formula/fmm3d.rb b/Formula/fmm3d.rb index ab7ee90..61e2353 100644 --- a/Formula/fmm3d.rb +++ b/Formula/fmm3d.rb @@ -4,6 +4,7 @@ class Fmm3d < Formula url "https://github.com/flatironinstitute/FMM3D/archive/refs/tags/v1.0.2.tar.gz" sha256 "e29a1ebe485d2431d4e330334b2853bc91b957afde6e24c2991099b28bd2b97c" license "Apache-2.0" + head "https://github.com/flatironinstitute/FMM3D.git", branch: "master" depends_on "gcc" diff --git a/Formula/mwrap.rb b/Formula/mwrap.rb new file mode 100644 index 0000000..2544e95 --- /dev/null +++ b/Formula/mwrap.rb @@ -0,0 +1,28 @@ +class Mwrap < Formula + desc "MATLAB MEX gateway generator" + homepage "https://github.com/zgimbutas/mwrap" + url "https://github.com/zgimbutas/mwrap/archive/refs/tags/v1.1.1.tar.gz" + sha256 "7c007a2c833d956d4805f12922920c8c8f9a47dc3f483ba0ffffca5aa130daed" + license "MIT" + head "https://github.com/zgimbutas/mwrap.git", branch: "master" + + bottle do + root_url "https://ghcr.io/v2/flatironinstitute/ccm" + sha256 cellar: :any_skip_relocation, ventura: "22113a7b460fad9d128608ae736c3ddb94c737c4256a1d2193b019caf0121b1c" + sha256 cellar: :any_skip_relocation, x86_64_linux: "80aeb61d13865f89cc047106d422ca9bfb562a93ed69094e45ebd7569bc9f37a" + end + + uses_from_macos "bison" => :build + uses_from_macos "flex" => :build + + def install + system "make", "bin" + bin.install "mwrap" + man1.install "doc/mwrap.1" + share.install "mwrap.pdf" + end + + test do + system "#{bin}/mwrap" + end +end diff --git a/Formula/sctl.rb b/Formula/sctl.rb new file mode 100644 index 0000000..4f004d6 --- /dev/null +++ b/Formula/sctl.rb @@ -0,0 +1,22 @@ +class Sctl < Formula + desc "Scientific Computing Template Library" + homepage "https://github.com/dmalhotra/SCTL" + url "https://github.com/dmalhotra/SCTL/archive/refs/tags/1.0.0.tar.gz" + sha256 "ee1c73802449d187eeeea034f9084a54b91c32ac149e4de7a7c5259e536b9826" + license "Apache-2.0" + head "https://github.com/dmalhotra/SCTL.git", branch: "master" + + bottle do + root_url "https://ghcr.io/v2/flatironinstitute/ccm" + sha256 cellar: :any_skip_relocation, ventura: "c1c119b41dd3415da9f99f74fb8e27e3e223ef902f0aa7c9130077bd0cd0dc41" + sha256 cellar: :any_skip_relocation, x86_64_linux: "abd0a8ddad6048889faf14f66e74bca423eb3f53df90760f4a4a1574daa158ac" + end + + def install + include.install Dir["include/*"] + end + + test do + system "true" + end +end diff --git a/README.md b/README.md index 19bb7e3..c2db3e0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Flatironinstitute Ccm +# Homebrew formulae from Flatiron Institute's CCM ## How do I install these formulae?