Accepting request 957375 from home:dirkmueller:Factory
- build parallel to reduce build time by ~ 30% OBS-URL: https://build.opensuse.org/request/show/957375 OBS-URL: https://build.opensuse.org/package/show/science/suitesparse?expand=0&rev=42
This commit is contained in:
parent
a582593690
commit
21ee275754
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 24 13:59:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- build parallel to reduce build time by ~ 30%
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Aug 5 08:13:50 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
Thu Aug 5 08:13:50 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package suitesparse
|
# spec file for package suitesparse
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -612,12 +612,8 @@ rm SPQR/Doc/spqr.pdf
|
|||||||
%patch775418 -p1
|
%patch775418 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ifarch ppc64le aarch64
|
|
||||||
%define limitbuild 1500
|
%define limitbuild 1500
|
||||||
%limit_build -m %{limitbuild}
|
%limit_build -m %{limitbuild}
|
||||||
%define JOBS %{jobs}
|
|
||||||
%define _lto_cflags -flto=%{jobs}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
@ -631,7 +627,11 @@ blas_lib=-lopenblas
|
|||||||
blas_lib=-lblas
|
blas_lib=-lblas
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
make MY_METIS_LIB="-lmetis" LAPACK="-llapack" BLAS="$blas_lib" TBB="-ltbb" CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" go
|
# Better performance with -flto
|
||||||
|
unset MALLOC_CHECK_
|
||||||
|
unset MALLOC_PERTURB_
|
||||||
|
|
||||||
|
%make_jobs MY_METIS_LIB="-lmetis" LAPACK="-llapack" BLAS="$blas_lib" TBB="-ltbb" CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" go
|
||||||
chrpath -d lib/*.so.*.*
|
chrpath -d lib/*.so.*.*
|
||||||
chrpath -d GraphBLAS/build/*.so
|
chrpath -d GraphBLAS/build/*.so
|
||||||
chrpath -d GraphBLAS/build/*.so.*.*
|
chrpath -d GraphBLAS/build/*.so.*.*
|
||||||
|
Loading…
Reference in New Issue
Block a user