import suitesparse-5.4.0-10.el9
This commit is contained in:
parent
f78f0ab79c
commit
2fc0e53634
|
@ -0,0 +1,25 @@
|
||||||
|
From 6cfb73889129bd537115479b5756b834f4bf1070 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michal Sekletar <msekleta@redhat.com>
|
||||||
|
Date: Mon, 21 Feb 2022 18:42:28 +0100
|
||||||
|
Subject: [PATCH] build: don't set RPATH on Linux
|
||||||
|
|
||||||
|
---
|
||||||
|
SuiteSparse/SuiteSparse_config/SuiteSparse_config.mk | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/SuiteSparse/SuiteSparse_config/SuiteSparse_config.mk b/SuiteSparse/SuiteSparse_config/SuiteSparse_config.mk
|
||||||
|
index 1d3d18f..ee60de4 100644
|
||||||
|
--- a/SuiteSparse/SuiteSparse_config/SuiteSparse_config.mk
|
||||||
|
+++ b/SuiteSparse/SuiteSparse_config/SuiteSparse_config.mk
|
||||||
|
@@ -358,7 +358,7 @@ SUITESPARSE_VERSION = 5.4.0
|
||||||
|
|
||||||
|
ifeq ($(UNAME),Linux)
|
||||||
|
# add the realtime library, librt, and SuiteSparse/lib
|
||||||
|
- LDLIBS += -lrt -Wl,-rpath=$(INSTALL_LIB)
|
||||||
|
+ LDLIBS += -lrt
|
||||||
|
endif
|
||||||
|
|
||||||
|
#---------------------------------------------------------------------------
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
Name: suitesparse
|
Name: suitesparse
|
||||||
Version: 5.4.0
|
Version: 5.4.0
|
||||||
Release: 9%{?dist}
|
Release: 10%{?dist}
|
||||||
Summary: A collection of sparse matrix libraries
|
Summary: A collection of sparse matrix libraries
|
||||||
|
|
||||||
License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+
|
License: (LGPLv2+ or BSD) and LGPLv2+ and GPLv2+
|
||||||
|
@ -54,6 +54,8 @@ Obsoletes: umfpack <= 5.0.1
|
||||||
Obsoletes: ufsparse <= 2.1.1
|
Obsoletes: ufsparse <= 2.1.1
|
||||||
Provides: ufsparse = %{version}-%{release}
|
Provides: ufsparse = %{version}-%{release}
|
||||||
|
|
||||||
|
Patch0001: 0001-build-don-t-set-RPATH-on-Linux.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
suitesparse is a collection of libraries for computations involving sparse
|
suitesparse is a collection of libraries for computations involving sparse
|
||||||
matrices. The package includes the following libraries:
|
matrices. The package includes the following libraries:
|
||||||
|
@ -164,6 +166,9 @@ This package contains documentation files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -c -q
|
%setup -c -q
|
||||||
|
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
pushd SuiteSparse
|
pushd SuiteSparse
|
||||||
# Remove bundled metis
|
# Remove bundled metis
|
||||||
rm -r metis*
|
rm -r metis*
|
||||||
|
@ -203,6 +208,7 @@ do
|
||||||
mkdir -p Doc/{AMD,BTF,CAMD,CCOLAMD,CHOLMOD,COLAMD,KLU,LDL,UMFPACK,SPQR,RBio} Include
|
mkdir -p Doc/{AMD,BTF,CAMD,CCOLAMD,CHOLMOD,COLAMD,KLU,LDL,UMFPACK,SPQR,RBio} Include
|
||||||
|
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
export LDFLAGS="-Wl,-z,now"
|
||||||
export LAPACK=""
|
export LAPACK=""
|
||||||
# Set flags for ILP64 build
|
# Set flags for ILP64 build
|
||||||
if [ $build = SuiteSparse64 ]
|
if [ $build = SuiteSparse64 ]
|
||||||
|
@ -400,7 +406,7 @@ do
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for d in $TESTDIRS ; do
|
for d in $TESTDIRS ; do
|
||||||
%make_build -C $d/Demo CFLAGS="$CFLAGS" LIB="%{?__global_ldflags} -lm -lrt" BLAS="$BLAS" LIBRARY_SUFFIX="$LIBRARY_SUFFIX" SPQR_CONFIG=-DHAVE_TBB TBB=-ltbb
|
LD_LIBRARY_PATH=${RPM_BUILD_ROOT}%{_libdir}/ %make_build -C $d/Demo CFLAGS="$CFLAGS" LIB="%{?__global_ldflags} -lm -lrt" BLAS="$BLAS" LIBRARY_SUFFIX="$LIBRARY_SUFFIX" SPQR_CONFIG=-DHAVE_TBB TBB=-ltbb
|
||||||
done
|
done
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
@ -489,6 +495,10 @@ done
|
||||||
%doc SuiteSparse/Doc/*
|
%doc SuiteSparse/Doc/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 21 2022 Michal Sekletar <msekleta@redhat.com> - 5.4.0-10
|
||||||
|
- Disable lazy binding (#2044892)
|
||||||
|
- Remove RPATH (#2056604)
|
||||||
|
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.0-9
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 5.4.0-9
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
Related: rhbz#1991688
|
Related: rhbz#1991688
|
||||||
|
|
Loading…
Reference in New Issue