Accepting request 1139193 from devel:languages:python:numeric
OBS-URL: https://build.opensuse.org/request/show/1139193 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-numpy?expand=0&rev=125
This commit is contained in:
commit
211584182a
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 15 16:35:46 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Update list of expected test failures on riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -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
|
||||
|
||||
@ -339,8 +339,9 @@ test_failok+=" or (test_umath and test_unary_spurious_fpexception)"
|
||||
%ifarch riscv64
|
||||
# These tests fail due to non-portable assumptions about the signbit of NaN
|
||||
# gh#numpy/numpy#8213
|
||||
test_failok+=" or test_fpclass"
|
||||
test_failok+=" or test_float"
|
||||
test_failok+=" or (test_umath and test_fpclass)"
|
||||
test_failok+=" or (test_numeric and TestBoolCmp and test_float)"
|
||||
test_failok+=" or (test_umath and test_fp_noncontiguous)"
|
||||
%endif
|
||||
|
||||
echo "
|
||||
|
Loading…
Reference in New Issue
Block a user