import libzdnn-1.1.1-1.el10

i10cs changed/i10cs/libzdnn-1.1.1-1.el10
MSVSphere Packaging Team 4 weeks ago
parent 265a1e6392
commit bf36c0643c
Signed by: sys_gitsync
GPG Key ID: B2B0B9F29E528FE8

2
.gitignore vendored

@ -1 +1 @@
SOURCES/libzdnn-1.0.1.tar.gz
SOURCES/libzdnn-1.1.1.tar.gz

@ -1 +1 @@
d31a6ffe6ae619c8763bd86198a2b18d0be06ffc SOURCES/libzdnn-1.0.1.tar.gz
3b7760ec5c14f192895b9c12636a8c8edbc57dca SOURCES/libzdnn-1.1.1.tar.gz

@ -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
Version: 1.0.1
Release: 10%{?dist}
Version: 1.1.1
Release: 1%{?dist}
Summary: Driver library for the IBM Z Neural Network Processing Assist Facility
License: Apache-2.0
Url: https://github.com/IBM/zDNN
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Patch0: ldflags.patch
ExclusiveArch: s390x
BuildRequires: gcc
@ -77,6 +76,10 @@ ln -s -r $RPM_BUILD_ROOT%{_libdir}/libzdnn.so.%{version} $RPM_BUILD_ROOT%{_libdi
%{_libdir}/libzdnn.a
%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
- Release bump
- Related: RHEL-64018

Loading…
Cancel
Save