-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,9 +29,9 @@ class NumpyAT1264Py310 < Formula | |
depends_on "[email protected]" => [:build, :test] | ||
depends_on "openblas" if OS.linux? | ||
|
||
# NOTE: `brew update-python-resources` check for outdated py resources | ||
fails_with gcc: "5" | ||
|
||
# NOTE: `brew update-python-resources` check for outdated py resources | ||
resource "meson-python" do | ||
url "https://files.pythonhosted.org/packages/a2/3b/276b596824a0820987fdcc7721618453b4f9a8305fe20b611a00ac3f948e/meson_python-0.15.0.tar.gz" | ||
sha256 "fddb73eecd49e89c1c41c87937cd89c2d0b65a1c63ba28238681d4bd9484d26f" | ||
|
@@ -66,7 +66,7 @@ def install | |
|
||
# Prepend the installation path of mesonpy to PYTHONPATH | ||
ENV.prepend_path "PYTHONPATH", libexec/"lib/python3.10/site-packages" | ||
ENV.prepend_path "PATH", Formula["libcython"].opt_libexec/"bin" | ||
ENV.prepend_path "PATH", Formula["cython"].opt_libexec/"bin" | ||
|
||
# NOTE: https://stackoverflow.com/a/69869531/708807 | ||
if OS.mac? | ||
|
@@ -79,7 +79,7 @@ def install | |
end | ||
|
||
site_packages = Language::Python.site_packages(python3) | ||
ENV.prepend_path "PYTHONPATH", Formula["libcython"].opt_libexec/site_packages | ||
ENV.prepend_path "PYTHONPATH", Formula["cython"].opt_libexec/site_packages | ||
|
||
if OS.mac? | ||
ENV["NPY_LAPACK_ORDER"] = "accelerate" | ||
|