Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

numpy: update formula for gnu+linux #510

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Formula/[email protected]_py310.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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?
Expand All @@ -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"
Expand Down
Loading