Get rid of RPATH
This commit is contained in:
parent
4d84991623
commit
bbbd0b11e2
|
@ -0,0 +1 @@
|
||||||
|
23bb875f50c2b1ea7d9e7885e1956fa02e210824 SuiteSparse-5.4.0.tar.gz
|
|
@ -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
|
||||||
|
|
|
@ -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*
|
||||||
|
@ -401,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
|
||||||
|
@ -492,6 +497,7 @@ done
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Feb 21 2022 Michal Sekletar <msekleta@redhat.com> - 5.4.0-10
|
* Mon Feb 21 2022 Michal Sekletar <msekleta@redhat.com> - 5.4.0-10
|
||||||
- Disable lazy binding (#2044892)
|
- 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
|
||||||
|
|
Loading…
Reference in New Issue