Minimal working example linking the wheel statically
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- build-system
Research direction
Begin with the linked lapack_mre test repository and its generated pkg-config file; compare how the dependency is consumed from pyproject.toml and meson.build using meson-python. Reproduce the linker errors with scipy-openblas32 wheels, then document a portable minimal example and the conditions needed for the BLAS/LAPACK link to succeed.
Written by the indexing model from the issue text.
Description
Is it possible to create a minimal, cross-platform example using meson that properly links the wheel?
I have a need to call BLAS/LAPACK routines from within a C++ file included as part of a Python package. While I can get varying such implementations linked with my own machine, I'm finding it difficult to do so in a portable manner, which lead me here.
Ideally, I would like to be able to just specify scipy-openblas32 as a build dependency in some given package's pyproject.toml and then link to it as necessary within a meson.build file using meson-python.
Using some of numpy's tools (+this advice), I created test repository that generates a pkg-config file suitable for a meson-dependency object to use, but when I use these wheels unfortunately I get various linker errors. I can fix the build myself for my own machine, but this eliminates the portability.
Is there any "best practices" advice surrounding how to do this?
- Dominant language
- Shell
- Stars
- 17
- Forks
- 25
- Avg merge
- 7h 10m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MacPython/openblas-libs
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
MacPython/openblas-libs#261 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
MacPython/openblas-libs#231 · 13 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
MacPython/openblas-libs#228 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
MacPython/openblas-libs#224 · 9 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MacPython/openblas-libs#215 · 2 comments ·
All issues in MacPython/openblas-libs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
technical-debt
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100