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:
Dominique Leuenberger 2024-07-30 09:53:50 +00:00 committed by Git OBS Bridge
commit 2408468be5
2 changed files with 11 additions and 3 deletions

View File

@ -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>

View File

@ -1,5 +1,5 @@
# #
# spec file for package openblas # spec file
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
@ -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} \