python-numpy: cblas support
This commit is contained in:
parent
df3c218808
commit
c627001169
|
@ -1764,6 +1764,7 @@ libsodium.so.18 libsodium-1.0.7_1
|
|||
libstrophe.so.0 libstrophe-0.8.6_1
|
||||
libganv-1.so.1 ganv-1.4.2_1
|
||||
libblas.so.3 blas-3.5.0_1
|
||||
libcblas.so.3 cblas-3.6.0_1
|
||||
liblapack.so.3 lapack-3.5.0_1
|
||||
libcinnamon-menu-3.so.0 cinnamon-menus-2.2.0_1
|
||||
libpolkit-gtk-mate-1.so.0 mate-polkit-1.8.0_2
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'python-numpy'
|
||||
pkgname=python-numpy
|
||||
version=1.10.4
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="numpy-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools gcc-fortran"
|
||||
makedepends="python-devel python3.4-devel blas-devel lapack-devel"
|
||||
makedepends="python-devel python3.4-devel cblas-devel lapack-devel"
|
||||
pycompile_module="numpy"
|
||||
short_desc="Fast and sophisticated array facility to Python2"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
|
@ -14,14 +14,11 @@ homepage="http://www.numpy.org/"
|
|||
license="3-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/n/numpy/numpy-${version}.tar.gz"
|
||||
checksum=7356e98fbcc529e8d540666f5a919912752e569150e9a4f8d869c686f14c720b
|
||||
nocross=yes
|
||||
|
||||
export ATLAS=None
|
||||
LDFLAGS="-shared"
|
||||
|
||||
pre_build() {
|
||||
# make sure _dotblas.so gets built
|
||||
sed -i '/NO_ATLAS_INFO/,+1d' numpy/core/setup.py
|
||||
# remove shebangs
|
||||
find numpy -type f -name '*.py' -exec sed -i '/^#!.*python$/d' {} +
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue