Skip to content

Commit 4adb532

Browse files
mfc: v5.1.5
1 parent 0de325d commit 4adb532

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

Formula/mfc.rb

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,6 @@ class Mfc < Formula
1111
license "MIT"
1212
head "https://github.com/MFlowCode/MFC.git", branch: "master"
1313

14-
bottle do
15-
root_url "https://github.com/MFlowCode/homebrew-mfc/releases/download/mfc-5.1.5"
16-
rebuild 1
17-
sha256 arm64_tahoe: "991bfe7925151ade6aacab426e5e4bade8c34a17ebe453dcf41e482f53d36488"
18-
sha256 arm64_sequoia: "d1c4e427fb43e5ebce4a399546fc86284d9635f3f3e7ceb09f4507b70e8a2100"
19-
sha256 arm64_sonoma: "5f24b34a14f2bff37533a481256692bbe0f585b0667ee142d617fbb840479349"
20-
end
21-
2214
depends_on "cmake" => :build
2315
depends_on "gcc" => :build
2416

@@ -42,6 +34,7 @@ def install
4234
"setuptools-scm",
4335
"hatchling", "hatch-vcs",
4436
"editables"
37+
4538
# Install Cantera from PyPI using pre-built wheel (complex package, doesn't need custom flags)
4639
# Cantera has CMake compatibility issues when building from source with newer CMake versions
4740
# Match the version constraint from toolchain/pyproject.toml
@@ -86,12 +79,12 @@ def install
8679
# Now build MFC with pre-configured venv
8780
# Set VIRTUAL_ENV so mfc.sh uses existing venv instead of creating new one
8881
ENV["VIRTUAL_ENV"] = venv
89-
82+
9083
# Also set pretend-version env vars for mfc.sh in case it tries to reinstall toolchain
9184
ENV["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_MFC"] = version.to_s
9285
ENV["SETUPTOOLS_SCM_PRETEND_VERSION_FOR_mfc"] = version.to_s
9386
ENV["SETUPTOOLS_SCM_PRETEND_VERSION"] = version.to_s
94-
87+
9588
# Build MFC using pre-configured venv
9689
# Must run from buildpath (MFC root directory) where toolchain/ exists
9790
Dir.chdir(buildpath) do

0 commit comments

Comments
 (0)