Prerequisites
Visual Studio 2019 or later with ARM64 toolchain
Fortran compiler
Classic flang - https://github.com/kaadam/flang/releases/tag/v0.1
Install Python packages
numpy
cython
pybind11
pythran
OpenBLAS
Clone Scipy repository
https://github.com/scipy/scipy
...
Last known working commit: 3c106e7e032834fcbbc2e5b43b64cf8f8d281e70
Create Site.cfg in Scipy directory
Code Block |
---|
echo "[openblas]" > site.cfg echo "libraries = openblas" >> site.cfg echo "library_dirs = <OpenBLAS-Installation/lib>" >> site.cfg echo "include_dirs = <OpenBLAS-Installation/include>" >> site.cfg |
Build Wheel
Code Block |
---|
python setup.by bdist_wheel |
...