From bf36c0643cc689b091b3332496f9d5ab5c50054e Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 29 Nov 2024 09:43:48 +0300 Subject: [PATCH] import libzdnn-1.1.1-1.el10 --- .gitignore | 2 +- .libzdnn.metadata | 2 +- SOURCES/ldflags.patch | 32 -------------------------------- SPECS/libzdnn.spec | 9 ++++++--- 4 files changed, 8 insertions(+), 37 deletions(-) delete mode 100644 SOURCES/ldflags.patch diff --git a/.gitignore b/.gitignore index 9461b2c..3221d9c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/libzdnn-1.0.1.tar.gz +SOURCES/libzdnn-1.1.1.tar.gz diff --git a/.libzdnn.metadata b/.libzdnn.metadata index 8b32f48..f8d24eb 100644 --- a/.libzdnn.metadata +++ b/.libzdnn.metadata @@ -1 +1 @@ -d31a6ffe6ae619c8763bd86198a2b18d0be06ffc SOURCES/libzdnn-1.0.1.tar.gz +3b7760ec5c14f192895b9c12636a8c8edbc57dca SOURCES/libzdnn-1.1.1.tar.gz diff --git a/SOURCES/ldflags.patch b/SOURCES/ldflags.patch deleted file mode 100644 index 8b0f01e..0000000 --- a/SOURCES/ldflags.patch +++ /dev/null @@ -1,32 +0,0 @@ -From 4ae92a0b84751aa5880f5fa8a18b2295de1b8adb Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Jakub=20=C4=8Cajka?= -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 ---- - 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" diff --git a/SPECS/libzdnn.spec b/SPECS/libzdnn.spec index f21163e..ce2a774 100644 --- a/SPECS/libzdnn.spec +++ b/SPECS/libzdnn.spec @@ -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 - 1.1.1-1 +- Version update +- Resolves: RHEL-24116 + * Thu Nov 07 2024 Jakub Čajka - 1.0.1-10 - Release bump - Related: RHEL-64018