Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1.43 KB

README.md

File metadata and controls

23 lines (15 loc) · 1.43 KB

Alpine Docker container with NumPy and OpenBLAS

In order to support OpenBLAS in NumPy, one need to manually build it from source using site.cfg config.

Container breakdown

Notes

  • Use parallel build python setup.py build --parallel=$(nproc), it saves ~70% of time.
  • In order to pass C flags to python use CFLAGS="-Ofast". It overrides original settings, see documentation.
  • NumPy is installed to /usr/local/lib/python3.6/site-packages/.

Links