diff options
author | Simone Riva | 2017-06-17 14:04:46 +0200 |
---|---|---|
committer | Simone Riva | 2017-06-17 14:04:46 +0200 |
commit | 9f39ca1626f4600306c59eda7888e76fe0e9db02 (patch) | |
tree | ee236cd9e2e68d3b5cfa3153b44b76094708d5e9 | |
parent | 64f2a7e55d4ecb71e005d02facd8c74fc58f55ca (diff) | |
download | aur-9f39ca1626f4600306c59eda7888e76fe0e9db02.tar.gz |
0.19.0-3
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-scipy-mkl pkgdesc = SciPy is open-source software for mathematics, science, and engineering. Compiled with intel MKL pkgver = 0.19.0 - pkgrel = 1 + pkgrel = 3 url = http://www.scipy.org/ arch = i686 arch = x86_64 @@ -6,7 +6,7 @@ pkgname="python-scipy-mkl" true && pkgname=('python-scipy-mkl' 'python2-scipy-mkl') pkgver=0.19.0 -pkgrel=1 +pkgrel=3 pkgdesc="SciPy is open-source software for mathematics, science, and engineering. Compiled with intel MKL" arch=('i686' 'x86_64') url="http://www.scipy.org/" @@ -21,7 +21,7 @@ build() { unset LDFLAGS unset FFLAGS export LDFLAGS="" - export FFLAGS="-fPIC -openmp" + export FFLAGS="-fPIC -qopenmp -xHost" #mv scipy-0.18.1 scipy-0.18.1 @@ -37,7 +37,9 @@ build() { cd scipy-${pkgver} #patch -Np1 -i $srcdir/0001-GEN-regenerate-C-sources-with-Cython-0.17.1.patch - python setup.py build --fcompiler=intelem --compiler=intel + #python setup.py build --fcompiler=intelem --compiler=intel + python setup.py config --compiler=intelem --fcompiler=intelem build_clib --compiler=intelem --fcompiler=intelem build_ext --compiler=intelem --fcompiler=intelem + # build for python2 cd ../scipy-${pkgver}-py2 @@ -47,7 +49,9 @@ build() { sed -i 's_^#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file done - python2 setup.py build --fcompiler=intelem --compiler=intel + #python2 setup.py build --fcompiler=intelem --compiler=intel + python2 setup.py config --compiler=intelem --fcompiler=intelem build_clib --compiler=intelem --fcompiler=intelem build_ext --compiler=intelem --fcompiler=intelem + } check() { |