Accepting request 706486 from home:marxin:branches:devel:languages:python:numeric

- Disable LTO in order to address boo#1136831.

OBS-URL: https://build.opensuse.org/request/show/706486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=28
This commit is contained in:
Tomáš Chvátal 2019-05-30 08:39:20 +00:00 committed by Git OBS Bridge
parent c9bf903fb6
commit 58be9ab6dc
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 30 06:51:14 UTC 2019 - Martin Liška <mliska@suse.cz>
- Disable LTO in order to address boo#1136831.
-------------------------------------------------------------------
Tue May 28 20:37:45 UTC 2019 - Todd R <toddrme2178@gmail.com>

View File

@ -172,6 +172,7 @@ This package contains files for developing applications using numpy.
sed -i '1s/^#!.*$//' numpy/{compat/setup,distutils/{conv_template,cpuinfo,exec_command,from_template,setup,system_info},f2py/{__init__,auxfuncs,capi_maps,cb_rules,cfuncs,common_rules,crackfortran,diagnose,f2py2e,f90mod_rules,func2subr,rules,setup,use_rules},ma/{setup,bench},matrixlib/setup,setup,testing/{print_coercion_tables,setup}}.py
%build
%define _lto_cflags %{nil}
%if %{with hpc}
%hpc_setup
module load openblas