BLD: update scipy-openblas, use -Dpkg_config_path#30049
BLD: update scipy-openblas, use -Dpkg_config_path#30049rgommers merged 3 commits intonumpy:mainnumpy/numpy:mainfrom
Conversation
| python -c"import scipy_openblas32 as ob32; print(ob32.get_pkg_config())" > ./.openblas/scipy-openblas.pc | ||
| echo "PKG_CONFIG_PATH=${{ github.workspace }}/.openblas" >> $GITHUB_ENV | ||
| ld_library_path=$(python -c"import scipy_openblas32 as ob32; print(ob32.get_lib_dir())") | ||
| echo "LD_LIBRARY_PATH=$ld_library_path" >> $GITHUB_ENV |
There was a problem hiding this comment.
Not sure why we have LD_LIBRARY_PATH here, leftover cruft?
There was a problem hiding this comment.
Yes, leftover I believe, it was needed once upon a time.
|
Exploring the crash on macos-x86_64 over at MacPython/openblas-libs#219. Any macos compilation experts are welcome to chime in there what might be wrong. |
| TERM: xterm-256color | ||
| run: | ||
| spin build -- --werror -Dallow-noblas=false | ||
| spin build -- --werror -Dallow-noblas=false -Dpkg_config_path=${PWD}/.openblas |
|
The build to watch is "Wheel builder / Build wheel cp311-macosx_x86_64-openblas" which failed with the previous scipy_openblas wheel. |
|
The ubuntu_ubisan CI run seems flaky, I see occasional failures elsewhere. |
| spin==0.15 | ||
| # Keep this in sync with ci_requirements.txt | ||
| scipy-openblas32==0.3.30.0.1 | ||
| scipy-openblas32==0.3.30.0.6 |
There was a problem hiding this comment.
Note this does not change the base OpenBLAS commit used, only patches out the not-quite-ready code. OpenBLAS HEAD has also reverted that change, so the patch will not be needed for OpenBLAS 0.3.31. That is why the version here only changes the build from 1 to 6.
|
The issue you mentioned above (MacPython/openblas-libs#219) is still open - are you happy for this to go in now? |
Yes. PR MacPython/openblas-libs#225 fixed MacPython/openblas-libs#219, as "proven" in the passing "Build wheel cp311-macosx_x86_64-openblas" CI run here so I closed that issue. |
|
Recording the unrelated ASan failure for posterity: Details |
BLD: update scipy-openblas, use -Dpkg_config_path (#30049)
Closes #29391 by patching OpenBLAS. Hopefully by the time 0.3.31 is released we can remove the patch.
Also use
spin build -- -Dpkg_config_path=instead of settingPKG_CONFIG_PATHin the normal (non-wheel building) CI.