Accepting request 769675 from science

- Enable PGO during build

OBS-URL: https://build.opensuse.org/request/show/769675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glpk?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2020-02-04 18:53:51 +00:00 committed by Git OBS Bridge
commit ee8816bae6
2 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 3 15:28:09 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Enable PGO during build
-------------------------------------------------------------------
Sat Oct 12 11:49:46 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package glpk
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -88,7 +88,14 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
--enable-odbc \
--enable-mysql \
--disable-static
make %{?_smp_mflags}
%if %{do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
make check %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else
make %{?_smp_mflags} V=1
%endif
%install
%make_install