-
Notifications
You must be signed in to change notification settings - Fork 16
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?