Version update
Resolves: RHEL-24116
This commit is contained in:
parent
0135ff7bcd
commit
4252c1f663
@ -1,32 +0,0 @@
|
|||||||
From 4ae92a0b84751aa5880f5fa8a18b2295de1b8adb Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Jakub=20=C4=8Cajka?= <jcajka@users.noreply.github.com>
|
|
||||||
Date: Fri, 21 Jun 2024 17:12:06 +0200
|
|
||||||
Subject: [PATCH] fix: use system LDFLAGS (#20)
|
|
||||||
MIME-Version: 1.0
|
|
||||||
Content-Type: text/plain; charset=UTF-8
|
|
||||||
Content-Transfer-Encoding: 8bit
|
|
||||||
|
|
||||||
- pass system LDFLAGS to linker in all cases
|
|
||||||
|
|
||||||
Signed-off-by: Jakub Čajka <jcajka@redhat.com>
|
|
||||||
---
|
|
||||||
config.zdnn | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/config.zdnn b/config.zdnn
|
|
||||||
index 2eb5948..0396098 100644
|
|
||||||
--- a/config.zdnn
|
|
||||||
+++ b/config.zdnn
|
|
||||||
@@ -43,9 +43,9 @@ case "${target}" in
|
|
||||||
LIBNAME_PRIVATE="${LIBNAME_PRIVATE:-${LIBNAME}-private}"
|
|
||||||
LIBSONAME_PRIVATE="${LIBSONAME_PRIVATE:-${LIBNAME_PRIVATE}.so.0}"
|
|
||||||
LDFLAGS="${LDFLAGS:-}"
|
|
||||||
- LDFLAGS_SHARED="-shared -Wl,-Bsymbolic-functions -Wl,-soname,${LIBSONAME} -Wl,--version-script=zdnn.map -lm ${LDFLAGS_SHARED:-}"
|
|
||||||
- LDFLAGS_SHARED_EXPORTALL="-shared -Wl,-Bsymbolic-functions -Wl,-soname,${LIBSONAME_PRIVATE} -Wl,--version-script=zdnn_exportall.map -lm ${LDFLAGS_SHARED_EXPORTALL:-}"
|
|
||||||
- LDFLAGS_TEST="-L ../zdnn/${SODIR} -l${LIBNAME_PRIVATE#lib} ../zdnn/${SODIR}/${LIBNAME_PRIVATE}.so -lm ${LDFLAGS_TEST:-}"
|
|
||||||
+ LDFLAGS_SHARED="-shared -Wl,-Bsymbolic-functions -Wl,-soname,${LIBSONAME} -Wl,--version-script=zdnn.map -lm ${LDFLAGS_SHARED:-} ${LDFLAGS:-}"
|
|
||||||
+ LDFLAGS_SHARED_EXPORTALL="-shared -Wl,-Bsymbolic-functions -Wl,-soname,${LIBSONAME_PRIVATE} -Wl,--version-script=zdnn_exportall.map -lm ${LDFLAGS_SHARED_EXPORTALL:-} ${LDFLAGS:-}"
|
|
||||||
+ LDFLAGS_TEST="-L ../zdnn/${SODIR} -l${LIBNAME_PRIVATE#lib} ../zdnn/${SODIR}/${LIBNAME_PRIVATE}.so -lm ${LDFLAGS_TEST:-} ${LDFLAGS:-}"
|
|
||||||
LD_PATH_VAR="${LD_PATH_VAR:-LD_LIBRARY_PATH}"
|
|
||||||
ECHOFLAGS="-e"
|
|
||||||
ZDNN_TMAKE_FILES="t-static t-libsoname t-gccexpo t-symcheck t-listings"
|
|
@ -1,12 +1,11 @@
|
|||||||
Name: libzdnn
|
Name: libzdnn
|
||||||
Version: 1.0.1
|
Version: 1.1.1
|
||||||
Release: 10%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Driver library for the IBM Z Neural Network Processing Assist Facility
|
Summary: Driver library for the IBM Z Neural Network Processing Assist Facility
|
||||||
|
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Url: https://github.com/IBM/zDNN
|
Url: https://github.com/IBM/zDNN
|
||||||
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: ldflags.patch
|
|
||||||
|
|
||||||
ExclusiveArch: s390x
|
ExclusiveArch: s390x
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -77,6 +76,10 @@ ln -s -r $RPM_BUILD_ROOT%{_libdir}/libzdnn.so.%{version} $RPM_BUILD_ROOT%{_libdi
|
|||||||
%{_libdir}/libzdnn.a
|
%{_libdir}/libzdnn.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 28 2024 Jakub Čajka <jcajka@redhat.com> - 1.1.1-1
|
||||||
|
- Version update
|
||||||
|
- Resolves: RHEL-24116
|
||||||
|
|
||||||
* Thu Nov 07 2024 Jakub Čajka <jcajka@redhat.com> - 1.0.1-10
|
* Thu Nov 07 2024 Jakub Čajka <jcajka@redhat.com> - 1.0.1-10
|
||||||
- Release bump
|
- Release bump
|
||||||
- Related: RHEL-64018
|
- Related: RHEL-64018
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (libzdnn-1.0.1.tar.gz) = ac020caf18928ddafdf3a854ea167d29189d2ff5d9b3b60fbcffd30052b50b79dba74b0d2cf33f907f3da9c0daed97d258242b101031655fb2cc792e6303fb56
|
SHA512 (libzdnn-1.1.1.tar.gz) = 0e94cb237dc54edd42b674de24a284a5924a7818312c92d40b2fbad2115c0f132dd2f90faabddcc1c68152d023ed0803f2d722eed793c25ad2672230cc7d5d64
|
||||||
|
Loading…
Reference in New Issue
Block a user