forked from pool/python-numpy
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>
|
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
|
rm -f PKG-INFO
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%if 0%{?suse_version} <= 1600
|
|
||||||
export CC=gcc-12
|
|
||||||
export CXX=g++-12
|
|
||||||
%endif
|
|
||||||
%define _lto_cflags %{nil}
|
%define _lto_cflags %{nil}
|
||||||
%if %{with hpc}
|
%if %{with hpc}
|
||||||
%hpc_setup
|
%hpc_setup
|
||||||
@ -219,6 +215,10 @@ EOF
|
|||||||
%else
|
%else
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} <= 1600
|
||||||
|
export CC=gcc-12
|
||||||
|
export CXX=g++-12
|
||||||
|
%endif
|
||||||
|
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user