Skip to content

Commit

Permalink
macOS PyPy: OpenBLAS for Numpy
Browse files Browse the repository at this point in the history
For issue:
```
RuntimeError: Polyfit sanity test emitted a warning, most likely due to using a buggy Accelerate backend. If you compiled yourself, more information is available at https://numpy.org/doc/stable/user/building.html#accelerated-blas-lapack-libraries Otherwise report this to the vendor that provided NumPy.
```
Since PyPy builds a new numpy wheel on the fly.

numpy/numpy#15947 (comment)
  • Loading branch information
ax3l committed Jul 14, 2021
1 parent 1ca4fe0 commit ef29f97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -476,6 +476,8 @@ jobs:
- script: |
brew update || true
brew install pypy3
brew install openblas
export OPENBLAS="$(brew --prefix openblas)"
pypy3 -m pip install -U pip --user
pypy3 -m pip install openpmd-api --user
- script: |
Expand All @@ -491,6 +493,8 @@ jobs:
- script: |
brew update || true
brew install pypy3
brew install openblas
export OPENBLAS="$(brew --prefix openblas)"
pypy3 -m pip install -U pip setuptools wheel cmake --user
pypy3 -m pip install openpmd-api --no-binary openpmd-api --user
- script: |
Expand All @@ -506,6 +510,8 @@ jobs:
- script: |
brew update || true
brew install pypy3
brew install openblas
export OPENBLAS="$(brew --prefix openblas)"
pypy3 -m pip install -U pip setuptools wheel cmake --user
pypy3 -m pip install git+https://github.com/openPMD/openPMD-api.git@dev --user
- script: |
Expand Down

0 comments on commit ef29f97

Please sign in to comment.