-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
BLD: update scipy-openblas, use -Dpkg_config_path #30049
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why we have LD_LIBRARY_PATH here, leftover cruft?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice change
|
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
rgommers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In it goes, thanks Matti!
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.