From 81addb44979f0706951c8abb76af79a467de38ed2f89135adce97513cca5304b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 27 Feb 2024 08:45:08 +0000 Subject: [PATCH] Intel Intelligent Storage Acceleration Library - Inclusion in Tumbleweed requested by upstream maintainer OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/isa-l?expand=0&rev=1 --- .gitattributes | 23 +++++++++ isa-l.changes | 31 +++++++++++++ isa-l.spec | 123 +++++++++++++++++++++++++++++++++++++++++++++++++ v2.31.0.tar.gz | 3 ++ 4 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 isa-l.changes create mode 100644 isa-l.spec create mode 100644 v2.31.0.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/isa-l.changes b/isa-l.changes new file mode 100644 index 0000000..622fdb1 --- /dev/null +++ b/isa-l.changes @@ -0,0 +1,31 @@ +------------------------------------------------------------------- +Mon Feb 26 17:30:24 UTC 2024 - Jeff Mahoney - v2.31.0 + +- v2.31.0: Update + - gf_vect_mul_base() function now returns an integer, matching the return type of gf_vect_mul() function (not a breaking change). + - Added compress/decompress with dictionary to perf test app. + - Zlib header can be now created on the fly when starting the compression. + - Added isal_zlib_hdr_init() function to initialize the zlib header to 0. + - Optimized AVX implementation. + - Added new AVX2 and AVX512 implementations. + - Added new AVX512 and AVX2 implementations using GFNI instructions. + - Added new SVE implementation. + - Added new CRC64 Rocksoft algorithm. + - CRC x86 implementations optimized using ternary logic instructions and + - folding of bigger data on the last bytes. + - CRC16 T10dif aarch64 implementation improved. + - CRC aarch64 implementations optimized using XOR fusion feature. + - Changed performance tests to warm by default. + - Fixed various compilation issues/warnings for different platforms. + - Fixed documentation on xor/pq gen/check functions, with minimum + number of vectors. + - Fixed potential out-of-bounds read on Adler32 Neon implementation. + - Fixed potential out-of-bounds read on gf_vect_mul Neon implementation. + - Fixed x86 load/store instructions in erasure coding functions (aligned moves + that should be unaligned). + - Fixed memory leaks in unit tests. + +------------------------------------------------------------------- +Thu Mar 23 20:22:12 UTC 2023 - Jeff Mahoney - v2.30.0 + +- v2.30.0: Initial packaging. diff --git a/isa-l.spec b/isa-l.spec new file mode 100644 index 0000000..8220f3c --- /dev/null +++ b/isa-l.spec @@ -0,0 +1,123 @@ +# +# spec file for package isa-l +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: isa-l +Version: 2.31.0 +Release: 0 +Summary: Intel(R) Intelligent Storage Acceleration Library +Group: System/Libraries +License: BSD-3-Clause +URL: https://github.com/intel/isa-l +Source: https://github.com/intel/isa-l/archive/refs/tags/v%{version}.tar.gz +BuildRequires: gcc +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: nasm >= 2.13 + +%description + +The main package will not be used. + +%package -n igzip +Summary: Compress or decompress files similar to gzip +Group: Productivity/Archiving/Compression + +%description -n igzip +Compress or decompress files similar to gzip using the ISA-L fast deflate library. + +Output .gz files are compatible with gzip and RFC-1952. + +%package -n libisal2-devel +Summary: Development files for the Intel Intelligent Storage Acceleration Library +Group: Development/Libraries/C and C++ +Requires: libisal2 = %{version} + +%description -n libisal2-devel + +ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes: + +Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8). +CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported. + iscsi32, ieee32, t10dif, ecma64, iso64, jones64. +Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations. +Compression - Fast deflate-compatible data compression. +De-compression - Fast inflate-compatible data compression. + +This package contains the development headers for the library found +in libisal2. + +%package -n libisal2 +Summary: Intel Intelligent Storage Acceleration Library +Group: System/Libraries + +%description -n libisal2 + +ISA-L is a collection of optimized low-level functions targeting storage applications. ISA-L includes: + +Erasure codes - Fast block Reed-Solomon type erasure codes for any encode/decode matrix in GF(2^8). +CRC - Fast implementations of cyclic redundancy check. Six different polynomials supported. + iscsi32, ieee32, t10dif, ecma64, iso64, jones64. +Raid - calculate and operate on XOR and P+Q parity found in common RAID implementations. +Compression - Fast deflate-compatible data compression. +De-compression - Fast inflate-compatible data compression. + +%prep +%autosetup + +%build +./autogen.sh +%configure +%make_build + +%install +%make_install + +%post -n libisal2 +%run_ldconfig + +%postun -n libisal2 +%run_ldconfig + +%files -n igzip +%license LICENSE +%doc README.md +%{_bindir}/igzip +%{_mandir}/man1/igzip.1.gz + +%files -n libisal2-devel +%dir %{_includedir}/%{name} +%{_includedir}/%{name}.h +%{_includedir}/%{name}/crc.h +%{_includedir}/%{name}/crc64.h +%{_includedir}/%{name}/erasure_code.h +%{_includedir}/%{name}/gf_vect_mul.h +%{_includedir}/%{name}/igzip_lib.h +%{_includedir}/%{name}/mem_routines.h +%{_includedir}/%{name}/raid.h +%{_includedir}/%{name}/test.h +%{_libdir}/libisal.a +%{_libdir}/libisal.la +%{_libdir}/libisal.so +%{_libdir}/pkgconfig/libisal.pc + +%files -n libisal2 +%{_libdir}/libisal.so.2 +%{_libdir}/libisal.so.2.0.31 + +%changelog diff --git a/v2.31.0.tar.gz b/v2.31.0.tar.gz new file mode 100644 index 0000000..3998e21 --- /dev/null +++ b/v2.31.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e218b7b2e241cfb8e8b68f54a6e5eed80968cc387c4b1af03708b54e9fb236f1 +size 705375