forked from pool/python-numpy
Accepting request 835366 from home:eeich:branches:devel:languages:python:numeric
- Build only HPC version with OpenBLAS, use standard BLAS/LAPACK for non-HPC instead. - Create a macro %ver for the package version number next to %_ver to help keep both in sync. OBS-URL: https://build.opensuse.org/request/show/835366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=73
This commit is contained in:
parent
4920d2aaf4
commit
ca2a40df89
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 18 08:19:50 UTC 2020 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Build only HPC version with OpenBLAS, use standard BLAS/LAPACK
|
||||||
|
for non-HPC instead.
|
||||||
|
- Create a macro %ver for the package version number next to %_ver
|
||||||
|
to help keep both in sync.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Sep 12 19:55:00 UTC 2020 - Arun Persaud <arun@gmx.de>
|
Sat Sep 12 19:55:00 UTC 2020 - Arun Persaud <arun@gmx.de>
|
||||||
|
|
||||||
|
@ -17,28 +17,22 @@
|
|||||||
|
|
||||||
|
|
||||||
%global flavor @BUILD_FLAVOR@%{nil}
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
%define _ver 1_19_0
|
%define ver 1.19.2
|
||||||
|
%define _ver 1_19_2
|
||||||
%define pname python-numpy
|
%define pname python-numpy
|
||||||
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
%define hpc_upcase_trans_hyph() %(echo %{**} | tr [a-z] [A-Z] | tr '-' '_')
|
||||||
%if "%{flavor}" == ""
|
%if "%{flavor}" == ""
|
||||||
%bcond_with hpc
|
%bcond_with hpc
|
||||||
%if 0%{?sle_version} == 120300 && !0%{?is_opensuse}
|
|
||||||
%bcond_with openblas
|
%bcond_with openblas
|
||||||
%else
|
|
||||||
%ifarch armv6l s390 s390x m68k riscv64
|
|
||||||
%bcond_with openblas
|
|
||||||
%else
|
|
||||||
%bcond_without openblas
|
|
||||||
%endif
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == "gnu-hpc"
|
%if "%{flavor}" == "gnu-hpc"
|
||||||
%bcond_without hpc
|
%bcond_without hpc
|
||||||
%bcond_without openblas
|
|
||||||
%endif
|
%endif
|
||||||
%if "%{flavor}" == "gnu7-hpc"
|
%if "%{flavor}" == "gnu7-hpc"
|
||||||
%define c_f_ver 7
|
%define c_f_ver 7
|
||||||
%bcond_without hpc
|
%bcond_without hpc
|
||||||
|
%endif
|
||||||
|
%if %{with hpc}
|
||||||
%bcond_without openblas
|
%bcond_without openblas
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?sle_version} == 120300
|
%if 0%{?sle_version} == 120300
|
||||||
@ -70,7 +64,8 @@ ExclusiveArch: do_not_build
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
Name: %{package_name}
|
Name: %{package_name}
|
||||||
Version: 1.19.2
|
# set %%ver and %%_ver instead above
|
||||||
|
Version: %ver
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: NumPy array processing for numbers, strings, records and objects
|
Summary: NumPy array processing for numbers, strings, records and objects
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
|
Loading…
x
Reference in New Issue
Block a user