- build-conditionalize cblas dependency, it is missing on SLE <= 15
related to bsc#1177260 not being fixable for SLE15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=116
This commit is contained in:
parent
3f91cc86e3
commit
6e247645cd
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 1 21:44:21 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- build-conditionalize cblas dependency, it is missing on SLE <= 15
|
||||
related to bsc#1177260 not being fixable for SLE15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 22 19:55:11 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -46,8 +46,10 @@
|
||||
#
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%bcond_without cblas
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%bcond_with cblas
|
||||
%endif
|
||||
#
|
||||
%bcond_with ringdisabled
|
||||
@ -112,11 +114,13 @@ BuildRequires: gcc-gfortran
|
||||
BuildRequires: openblas-devel > 0.3.20
|
||||
%else
|
||||
BuildRequires: blas-devel
|
||||
BuildRequires: cblas-devel
|
||||
BuildRequires: lapack-devel
|
||||
%if %{with cblas}
|
||||
# openblas has significantly better performance for some operations
|
||||
BuildRequires: cblas-devel
|
||||
Recommends: libopenblas_pthreads0
|
||||
%endif
|
||||
%endif
|
||||
%if %{with libalternatives}
|
||||
BuildRequires: alts
|
||||
Requires: alts
|
||||
@ -157,7 +161,9 @@ Requires: %plainpython(abi) = %{python_version}
|
||||
Requires: openblas-devel
|
||||
%else
|
||||
Requires: blas-devel
|
||||
%if %{with cblas}
|
||||
Requires: cblas-devel
|
||||
%endif
|
||||
Requires: lapack-devel
|
||||
%endif
|
||||
%else
|
||||
|
Loading…
Reference in New Issue
Block a user