Skip to content
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

Update OpenBLAS Version for x86 Wheel Build #117

Merged
merged 1 commit into from
Feb 26, 2022

Conversation

weiliw-amz
Copy link
Contributor

@weiliw-amz weiliw-amz commented Feb 25, 2022

Issue #, if available:
N/A

Description of changes:
Previous OpenBLAS shared library included in PECOS x86 wheel, is installed from CentOS repo and is v0.3.3.

However, fortunately, Numpy provides pre-build up-to-date OpenBLAS libraries for multi-platform wheel build hosted by Anaconda, and we could also use them in PECOS wheel build.

For details, please refer to:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@weiliw-amz weiliw-amz self-assigned this Feb 25, 2022
@weiliw-amz weiliw-amz requested a review from rofuyu February 25, 2022 08:22
# https://github.com/mattip/numpy/blob/1edb44669f9acddebd92df794ca9731fd92f4e06/tools/openblas_support.py#L49
wget https://anaconda.org/multibuild-wheels-staging/openblas-libs/v0.3.19-22-g5188aede/download/openblas-v0.3.19-22-g5188aede-manylinux2014_aarch64.tar.gz
tar -xvf openblas-v0.3.19-22-g5188aede-manylinux2014_aarch64.tar.gz
wget "https://anaconda.org/multibuild-wheels-staging/openblas-libs/v0.3.19-22-g5188aede/download/openblas-v0.3.19-22-g5188aede-$PLAT.tar.gz"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that the string "v0.3.19-22-g5188aede" is used multiple times, maybe we can set it to a variable and replace the string with the variable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated.

@weiliw-amz weiliw-amz force-pushed the update-x86-wheel-openblas branch from e069f7b to edbb630 Compare February 25, 2022 18:07
@weiliw-amz weiliw-amz marked this pull request as ready for review February 25, 2022 18:55
@rofuyu rofuyu merged commit 5c1ce94 into amzn:mainline Feb 26, 2022
@weiliw-amz weiliw-amz deleted the update-x86-wheel-openblas branch December 5, 2022 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants