Accepting request 1190320 from science
- Make sure the minimum CPU requirement set in the pkgconfig (forwarded request 1190319 from eeich) OBS-URL: https://build.opensuse.org/request/show/1190320 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openblas?expand=0&rev=64
This commit is contained in:
commit
2408468be5
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 29 09:21:41 UTC 2024 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Make sure the minimum CPU requirement set in the pkgconfig
|
||||||
|
file is the same one as used for building. This also helps
|
||||||
|
to maintain a reproducible build (boo#1228177).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 13 07:32:23 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
Thu Jun 13 07:32:23 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openblas
|
# spec file
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
@ -239,7 +239,7 @@ BuildRequires: gcc%{?cc_v}-fortran
|
|||||||
BuildRequires: gcc-fortran
|
BuildRequires: gcc-fortran
|
||||||
BuildRequires: update-alternatives
|
BuildRequires: update-alternatives
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun):update-alternatives
|
||||||
%else
|
%else
|
||||||
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
BuildRequires: %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
|
||||||
BuildRequires: lua-lmod
|
BuildRequires: lua-lmod
|
||||||
@ -256,7 +256,7 @@ Group: System/Libraries
|
|||||||
%if %{without hpc}
|
%if %{without hpc}
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
Requires(preun): update-alternatives
|
Requires(preun):update-alternatives
|
||||||
%if "%flavor" == "serial"
|
%if "%flavor" == "serial"
|
||||||
Obsoletes: lib%{pname}%{so_v} < %{version}
|
Obsoletes: lib%{pname}%{so_v} < %{version}
|
||||||
Provides: lib%{pname}%{so_v} = %{version}
|
Provides: lib%{pname}%{so_v} = %{version}
|
||||||
@ -446,6 +446,7 @@ make MAKE_NB_JOBS=$jobs %{?openblas_target} %{?build_flags} \
|
|||||||
# Pass NUM_THREADS again, as it is not propagated from the build step
|
# Pass NUM_THREADS again, as it is not propagated from the build step
|
||||||
# https://github.com/OpenMathLib/OpenBLAS/issues/4275
|
# https://github.com/OpenMathLib/OpenBLAS/issues/4275
|
||||||
%make_install %{?build_flags} \
|
%make_install %{?build_flags} \
|
||||||
|
%{?openblas_target} \
|
||||||
NUM_THREADS=%{num_threads} \
|
NUM_THREADS=%{num_threads} \
|
||||||
OPENBLAS_LIBRARY_DIR=%{p_libdir} \
|
OPENBLAS_LIBRARY_DIR=%{p_libdir} \
|
||||||
OPENBLAS_INCLUDE_DIR=%{p_includedir} \
|
OPENBLAS_INCLUDE_DIR=%{p_includedir} \
|
||||||
|
Loading…
Reference in New Issue
Block a user