Skip to content

Commit 9ba736c

Browse files
mfc: v5.1.0
1 parent 86e7e81 commit 9ba736c

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

Formula/mfc.rb

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,12 @@ def install
3131
# Cantera has CMake compatibility issues when building from source with newer CMake versions
3232
system venv/"bin/pip", "install", "cantera==3.1.0"
3333

34-
# Set LDFLAGS to ensure Python C extensions are compiled with enough
35-
# header padding for Homebrew's bottle relocation process
36-
# This fixes "Failed changing dylib ID" errors during bottling
37-
ENV.append "LDFLAGS", "-Wl,-headerpad_max_install_names"
38-
ENV.append "CFLAGS", "-Wl,-headerpad_max_install_names"
39-
ENV.append "CXXFLAGS", "-Wl,-headerpad_max_install_names"
40-
4134
# Install MFC Python package and dependencies into venv
4235
# Use editable install (-e) to avoid RECORD file issues when venv is symlinked at runtime
43-
# Most dependencies use pre-built wheels initially
36+
# Dependencies will use pre-built wheels from PyPI (no bottling needed)
4437
# Keep toolchain in buildpath for now - mfc.sh needs it there
4538
system venv/"bin/pip", "install", "-e", buildpath/"toolchain"
4639

47-
# Force-reinstall packages with C extensions from source with proper LDFLAGS
48-
# This ensures they have correct header padding for bottle relocation
49-
# orjson is a transitive dependency that comes from pre-built wheels without proper padding
50-
# --no-deps prevents reinstalling dependencies, only the target package
51-
system venv/"bin/pip", "install", "--no-binary", ":all:", "--force-reinstall",
52-
"--no-deps", "orjson"
53-
5440
# Create symlink so mfc.sh uses our pre-installed venv
5541
mkdir_p "build"
5642
ln_sf venv, "build/venv"

0 commit comments

Comments
 (0)