Skip to content

Commit

Permalink
Merge pull request #4893 from cms-sw/fix-numpy-arm-1.16.2
Browse files Browse the repository at this point in the history
Fix numpy on arm until patch is provided
  • Loading branch information
mrodozov committed Apr 23, 2019
2 parents d9c8a56 + 7b4bab6 commit bfaf105
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions py2-numpy.spec
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
### RPM external py2-numpy 1.16.2
%ifarch aarch64
%define numpy_version 1.15.1
%else
%define numpy_version 1.16.2
%endif
### RPM external py2-numpy %{numpy_version}
## INITENV +PATH PYTHON27PATH %i/${PYTHON_LIB_SITE_PACKAGES}
## INITENV +PATH PYTHON3PATH %i/${PYTHON3_LIB_SITE_PACKAGES}
## INITENV SET PY2_NUMPY_REAL_VERSION %{realversion}

Source: https://github.com/numpy/numpy/releases/download/v%{realversion}/numpy-%{realversion}.tar.gz
Requires: zlib OpenBLAS python python3
#py2-setuptools
BuildRequires: py2-pip

%define pythonver %(echo %{allpkgreqs} | tr ' ' '\\n' | grep ^external/python/ | cut -d/ -f3 | cut -d. -f 1,2)
%define numpyArch %(uname -m)


%prep
%setup -n numpy-%realversion

Expand Down

0 comments on commit bfaf105

Please sign in to comment.