Skip to content

Packaging openblas libraries with numpy wheel #29010

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

Closed
Aman-Surkar opened this issue May 20, 2025 · 2 comments
Closed

Packaging openblas libraries with numpy wheel #29010

Aman-Surkar opened this issue May 20, 2025 · 2 comments
Labels
33 - Question Question about NumPy usage or development

Comments

@Aman-Surkar
Copy link

Hello Team,

I am trying to build numpy wheel for ppc64le architecture, for which pre-built binary doesnt exists. I have built wheels for the same architecture, but each time I need to configure openblas related paths before building the wheel. I wanted to know, is there any way by which I can package openblas related files along with numpy wheel?

@DWesl
Copy link
Contributor

DWesl commented May 21, 2025

It depends on what you're trying to do.

If you plan to build a new wheel on each machine, you'll need to configure the OpenBLAS paths any time they're not in a standard location (probably /usr/lib).

If you are planning to build the wheel once and install it multiple places, there are tools to include externally-built libraries: the scikit-build-core docs list auditwheel for Linux, delocate for Mac, and delvewheel for Windows, with cibuildwheel for automating the process of building and testing the wheel, and the new repairwheel to pick the relevant command of auditwhel, delocate, and delvewheel to run. SciPy has a similar issue open, which mentions some of the same tools.

There is also the possibility of using a package manager like conda that can handle non-python dependencies: it looks like NumPy, at least, has a ppc64le build available.

@rgommers rgommers added the 33 - Question Question about NumPy usage or development label May 27, 2025
@rgommers
Copy link
Member

The question seems answered (thanks @DWesl!), so I will go ahead and close this issue. Follow-up questions are still welcome of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
33 - Question Question about NumPy usage or development
Projects
None yet
Development

No branches or pull requests

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy