ngsolve_openblas vendors the runtime OpenBLAS libraries from
scipy-openblas64 and installs them into a top-level netgen_mesher.libs
directory.
The package is intended to be used as a runtime dependency for NGSolve
wheels that look for their OpenBLAS runtime libraries next to netgen_mesher.
At wheel build time, the package copies dynamic libraries from the installed
scipy-openblas64 build dependency:
- Linux:
libscipy_openblas64_.soand its bundled runtime dependencies. - Windows:
libscipy_openblas64_.dll.
The copied files are recorded in the wheel under netgen_mesher.libs/.
Importing ngsolve_openblas immediately loads the bundled runtime libraries
with global symbol visibility, so downstream packages can resolve OpenBLAS
symbols after declaring this package as a runtime dependency.
Build a wheel with:
python -m pip install build
python -m build --wheelThe generated wheel is platform-specific and uses the platform tag from the
scipy-openblas64 wheel used during the build.