Accepting request 1136755 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1136755 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=124
This commit is contained in:
commit
2698ad8c6b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 12:57:32 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Fix build error for Leap. Need gcc >= 8.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 13 06:53:32 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
@ -94,8 +94,13 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pyproject-metadata >= 0.7.1}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: cmake
|
||||
%if 0%{?suse_version} <= 1600
|
||||
BuildRequires: gcc12
|
||||
BuildRequires: gcc12-c++
|
||||
%else
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: ninja >= 1.8.2
|
||||
BuildRequires: patchelf
|
||||
BuildRequires: python-rpm-macros >= 20210929
|
||||
@ -196,6 +201,10 @@ sed -i '1s/^#!.*$//' numpy/random/_examples/cython/*.pyx
|
||||
rm -f PKG-INFO
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} <= 1600
|
||||
export CC=gcc-12
|
||||
export CXX=g++-12
|
||||
%endif
|
||||
%define _lto_cflags %{nil}
|
||||
%if %{with hpc}
|
||||
%hpc_setup
|
||||
|
Loading…
Reference in New Issue
Block a user