diff --git a/libzdnn.changes b/libzdnn.changes index 4a1cbd1..e3a1d47 100644 --- a/libzdnn.changes +++ b/libzdnn.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Dec 13 20:08:16 UTC 2021 - Mark Post + +- Upgraded to version 0.4.0 (bsc#1191582) + * RNN Layer 2 Support + * RNN Bi-directional Output Transformation Support + * Removal of non-inclusive IT Terms + * RNN Pre-check Support + * Optimized zTensor reserved space + * Transform optimizations + * Minor bug fixes +- Removed the following obsolete patches + * sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch + * sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch + ------------------------------------------------------------------- Thu Oct 21 18:58:18 UTC 2021 - Mark Post diff --git a/libzdnn.spec b/libzdnn.spec index f3d2931..16ec0ce 100644 --- a/libzdnn.spec +++ b/libzdnn.spec @@ -17,15 +17,13 @@ Name: libzdnn -Version: 0.3.1 +Version: 0.4.0 Release: 0 Summary: IBM Z Deep Learning Library License: Apache-2.0 Group: Development/Libraries/Other URL: https://github.com/IBM/zDNN -Source: zDNN-0.3.1.tar.gz -Patch1: sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch -Patch2: sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch +Source: zDNN-0.4.0.tar.gz BuildRequires: autoconf BuildRequires: gcc-c++ ExclusiveArch: s390x @@ -54,6 +52,7 @@ functions for the NNPA instruction primitives. %package devel Summary: Deep Learning Library development files +Group: Development/Libraries/Other Requires: libzdnn0 = %{version}-%{release} %description devel @@ -74,11 +73,9 @@ autoconf # We don't want/need the static library at this time. That could change. rm -vf %{buildroot}/%{_libdir}/libzdnn.a -%post -n libzdnn0 -/sbin/ldconfig +%post -n libzdnn0 -p /sbin/ldconfig -%postun -n libzdnn0 -/sbin/ldconfig +%postun -n libzdnn0 -p /sbin/ldconfig %files -n libzdnn0 %doc README.md diff --git a/sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch b/sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch deleted file mode 100644 index a62e2fd..0000000 --- a/sles15sp4-libzdnn-Fix-initialization-of-CFLAGS_INIT-2.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 31d3cc3f331b4ab93ef860bd6afca60f96d56b95 Mon Sep 17 00:00:00 2001 -From: Andreas Krebbel -Date: Thu, 21 Oct 2021 12:57:45 +0200 -Subject: [PATCH 2/2] Fix initialization of CFLAGS_INIT (#2) - -Signed-off-by: Andreas Krebbel ---- - config.zdnn | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/config.zdnn b/config.zdnn -index 43225d6..1268897 100644 ---- a/config.zdnn -+++ b/config.zdnn -@@ -26,7 +26,7 @@ case "${target}" in - LD=${LD:-g++} - AR=${AR:-ar} - ARFLAGS="${ARFLAGS:--rc}" -- CFLAGS_INIT="-O3 -mzvector -Wall -std=gnu99 -fstack-protector-all ${CFLAGS:-}" -+ CFLAGS_INIT="-O3 -mzvector -Wall -std=gnu99 -fstack-protector-all ${CFLAGS_INIT:-}" - CFLAGS_QUOTE_INIT="-Wall" # Not needed on Linux. Just repeat an option to prevent it from being empty. - CFLAGS="-O3 -march=z14 -mzvector -Wall -std=gnu99 -fstack-protector-all ${CFLAGS:-}" - CFLAGS_QUOTE="-Wall" -@@ -57,7 +57,7 @@ case "${target}" in - AR=${AR:-ar} - ARFLAGS="${ARFLAGS:--rc}" - CXXFLAGS="-I /u/mvsbuild/zos25/usr/include/zos/ -Wc,ASM,LP64,INLINE,VECTOR ${CXXFLAGS:-}" -- CFLAGS_INIT="${CXXFLAGS} -qlanglvl=extc99 ${CFLAGS:-}" -+ CFLAGS_INIT="${CXXFLAGS} -qlanglvl=extc99 ${CFLAGS_INIT:-}" - CFLAGS_QUOTE_INIT="-Wc,SUPPRESS(CCN4108),STACKPROTECT(ALL)" # The options with () require an extra pair of quotes in config.make.in - CFLAGS="${CXXFLAGS} -qlanglvl=extc99 ${CFLAGS:-}" - CFLAGS_QUOTE="-Wc,ARCH(12),SUPPRESS(CCN4108),STACKPROTECT(ALL)" --- -2.26.2 - diff --git a/sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch b/sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch deleted file mode 100644 index f0efb77..0000000 --- a/sles15sp4-libzdnn-Limit-symbol-check-to-global-symbols-3.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 15cde2ca92be6d15276ec0eae0f0314fb203109f Mon Sep 17 00:00:00 2001 -From: Andreas Krebbel -Date: Thu, 21 Oct 2021 12:57:27 +0200 -Subject: [PATCH 1/2] Limit symbol check to global symbols (#3) - -Signed-off-by: Andreas Krebbel ---- - zdnn/sym_checker.awk | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/zdnn/sym_checker.awk b/zdnn/sym_checker.awk -index ba8170d..7459a23 100644 ---- a/zdnn/sym_checker.awk -+++ b/zdnn/sym_checker.awk -@@ -283,7 +283,7 @@ fi == fi_dyn && NF >= 8 { - else - dbg(1, "Skipping UND symbol: "dyn_name) - next -- } else if ($7 ~ /[0-9]+/) { -+ } else if ($5 == "GLOBAL" && $7 ~ /[0-9]+/) { - # 'zdnn_sub@@ZDNN_1.0' => 'zdnn_sub' and return > 0 if "@" was found - dyn_sym=dyn_name - if (sub("@.*", "", dyn_sym) == 0) { --- -2.26.2 - diff --git a/zDNN-0.3.1.tar.gz b/zDNN-0.3.1.tar.gz deleted file mode 100644 index 1a83904..0000000 --- a/zDNN-0.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b258714a88d5cd6a35d70edf79e1702dc6b80aeb1cc98927268008c23bc318b -size 585293 diff --git a/zDNN-0.4.0.tar.gz b/zDNN-0.4.0.tar.gz new file mode 100644 index 0000000..be759d7 --- /dev/null +++ b/zDNN-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6a3e9a3ca47e6fe748db3cc92984a8b747121fe4e6af371a0d715be0fabfbb6 +size 632269