Replies: 1 comment
-
I managed to find out the solution to my question. In the CIBW_BEFORE_BUILD script (run as bash), I was unzipping the openBLAS library into |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First time poster. I'm trying to use cibuildwheel (in a GH build action) to make scipy wheels. Recent scipy uses meson to build the project. I'm having an issue using cibuildwheel to build on win_AMD64.
One of the dependencies for scipy is openblas. As part of CIBW_BEFORE_BUILD script I download a zipfile containing the openblas include, lib, bin directories to a known location,
C:\opt
. There is anopenblas.pc
file inC:\opt\openblas\if_32\64\lib\pkgconfig
. If I usepkg-config
in the CIBW_BEFORE_BUILD script the openblas library is detected.The invocation of pkg-config in the CIBW_BEFORE_BUILD is
PKG_CONFIG_PATH=/mnt/c/opt/openblas/if_32/64/lib/pkgconfig pkg-config --list-all
However, when I try to use cibuildwheel to make the wheels the meson build fails to detect the installation of openblas, even if the environment variable:
CIBW_ENVIRONMENT: PKG_CONFIG_PATH=c:\\opt\\openblas\\if_32\\64\\lib\\pkgconfig
is set.I should note that scipy already has a separate CI job building the project on GH actions using meson. So I don't think it's a meson problem per-se, but something to do with how cibuildwheel starts the build.
The github actions log, the GHactions file, the CIBW_BEFORE_BUILD script.
Beta Was this translation helpful? Give feedback.
All reactions