Accepting request 720452 from home:marxin:static

Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/720452
OBS-URL: https://build.opensuse.org/package/show/science/lapack?expand=0&rev=14
This commit is contained in:
2019-08-05 08:02:25 +00:00
committed by Git OBS Bridge
parent 5b27035c79
commit bc1baec9b0
3 changed files with 11 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package lapack-man
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -48,6 +48,7 @@ Algebra subprograms) routines, in the form of man pages.
%setup -q -n %{_name}-%{version}
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
cp make.inc.example make.inc
# Create man pages - and do some cleanup
make man %{?_smp_mflags}

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Aug 2 07:03:54 UTC 2019 - Martin Liška <mliska@suse.cz>
- Use FAT LTO objects in order to provide proper static library.
-------------------------------------------------------------------
Thu Mar 29 13:11:32 UTC 2018 - badshah400@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package lapack
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -175,6 +175,7 @@ LAPACKE development files - static libraries.
%patch1
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
case "$RPM_ARCH" in
i[0-9]86) PRECFLAGS="-ffloat-store" ;;
*) PRECFLAGS="" ;;