Accepting request 1138114 from home:Simmphonie:branches:devel:languages:python:numeric
- Fix gnu-hpc build error for Leap OBS-URL: https://build.opensuse.org/request/show/1138114 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=149
This commit is contained in:
parent
a6763b3e9b
commit
e149f0cb5b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 11 07:33:45 UTC 2024 - Torsten Gruner <simmphonie@opensuse.org>
|
||||
|
||||
- Fix gnu-hpc build error for Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 12:57:32 UTC 2023 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
|
@ -201,10 +201,6 @@ 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
|
||||
@ -219,6 +215,10 @@ EOF
|
||||
%else
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1600
|
||||
export CC=gcc-12
|
||||
export CXX=g++-12
|
||||
%endif
|
||||
|
||||
%pyproject_wheel
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user