Skip to content

Commit

Permalink
Merge branch 'main' into fmm3d-1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
danfortunato authored Feb 21, 2024
2 parents 2478bb1 + 3ba8993 commit 587ed6d
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Formula/fmm3d.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
28 changes: 28 additions & 0 deletions Formula/mwrap.rb
Original file line number Diff line number Diff line change
@@ -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
22 changes: 22 additions & 0 deletions Formula/sctl.rb
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Flatironinstitute Ccm
# Homebrew formulae from Flatiron Institute's CCM

## How do I install these formulae?

Expand Down

0 comments on commit 587ed6d

Please sign in to comment.