+
Skip to content

slothai/docker-numpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载