commit
fed97eadbe
@ -0,0 +1 @@
|
|||||||
|
SOURCES/isa-l-2.31.0.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
b0a02f9c3b35407bbf0d32afe8950e4b6d75cf70 SOURCES/isa-l-2.31.0.tar.gz
|
@ -0,0 +1,32 @@
|
|||||||
|
From d9fa3c5223d8f0881d9f2968f2bd16e5c26a9114 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Mattias Ellert <mattias.ellert@physics.uu.se>
|
||||||
|
Date: Sat, 20 Jan 2024 08:47:28 +0100
|
||||||
|
Subject: [PATCH] Fix wrong return type
|
||||||
|
|
||||||
|
erasure_code/ppc64le/gf_vect_mul_vsx.c: In function '_gf_vect_mul_base':
|
||||||
|
erasure_code/ppc64le/gf_vect_mul_vsx.c:14:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
|
||||||
|
14 | return 0;
|
||||||
|
| ^
|
||||||
|
erasure_code/ppc64le/gf_vect_mul_vsx.c:6:13: note: declared here
|
||||||
|
6 | static void _gf_vect_mul_base(int len, unsigned char *a, unsigned char *src,
|
||||||
|
| ^~~~~~~~~~~~~~~~~
|
||||||
|
---
|
||||||
|
erasure_code/ppc64le/gf_vect_mul_vsx.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/erasure_code/ppc64le/gf_vect_mul_vsx.c b/erasure_code/ppc64le/gf_vect_mul_vsx.c
|
||||||
|
index 0f2f2f4..718d96c 100644
|
||||||
|
--- a/erasure_code/ppc64le/gf_vect_mul_vsx.c
|
||||||
|
+++ b/erasure_code/ppc64le/gf_vect_mul_vsx.c
|
||||||
|
@@ -11,7 +11,7 @@ static void _gf_vect_mul_base(int len, unsigned char *a, unsigned char *src,
|
||||||
|
|
||||||
|
while (len-- > 0)
|
||||||
|
*dest++ = gf_mul(c, *src++);
|
||||||
|
- return 0;
|
||||||
|
+ return;
|
||||||
|
}
|
||||||
|
|
||||||
|
void gf_vect_mul_vsx(int len, unsigned char *gftbl, unsigned char *src, unsigned char *dest)
|
||||||
|
--
|
||||||
|
2.43.0
|
||||||
|
|
@ -0,0 +1,101 @@
|
|||||||
|
Name: isa-l
|
||||||
|
Version: 2.31.0
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: Intel(R) Intelligent Storage Acceleration Library
|
||||||
|
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/intel/isa-l
|
||||||
|
Source0: %{url}/archive/v%{version}/isa-l-%{version}.tar.gz
|
||||||
|
|
||||||
|
# https://github.com/intel/isa-l/pull/271
|
||||||
|
Patch0: 0001-Fix-wrong-return-type.patch
|
||||||
|
|
||||||
|
ExcludeArch: %{ix86}
|
||||||
|
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: nasm
|
||||||
|
|
||||||
|
%description
|
||||||
|
Collection of low-level functions used in storage applications.
|
||||||
|
Contains fast erasure codes that implement a general Reed-Solomon type
|
||||||
|
encoding for blocks of data that helps protect against erasure of
|
||||||
|
whole blocks. The general ISA-L library contains an expanded set of
|
||||||
|
functions used for data protection, hashing, encryption, etc.
|
||||||
|
|
||||||
|
This package contains the shared library.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Intel(R) Intelligent Storage Acceleration Library - devel files
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Collection of low-level functions used in storage applications.
|
||||||
|
Contains fast erasure codes that implement a general Reed-Solomon type
|
||||||
|
encoding for blocks of data that helps protect against erasure of
|
||||||
|
whole blocks. The general ISA-L library contains an expanded set of
|
||||||
|
functions used for data protection, hashing, encryption, etc.
|
||||||
|
|
||||||
|
This package contains the development files needed to build against
|
||||||
|
the shared library.
|
||||||
|
|
||||||
|
%package tools
|
||||||
|
Summary: Intel(R) Intelligent Storage Acceleration Library - tool
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description tools
|
||||||
|
Collection of low-level functions used in storage applications.
|
||||||
|
Contains fast erasure codes that implement a general Reed-Solomon type
|
||||||
|
encoding for blocks of data that helps protect against erasure of
|
||||||
|
whole blocks. The general ISA-L library contains an expanded set of
|
||||||
|
functions used for data protection, hashing, encryption, etc.
|
||||||
|
|
||||||
|
This package contains CLI tools.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
%patch -P 0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf -v -f -i
|
||||||
|
%configure --disable-static
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
rm %{buildroot}%{_libdir}/*.la
|
||||||
|
|
||||||
|
%check
|
||||||
|
%make_build check
|
||||||
|
%make_build test
|
||||||
|
%make_build perf
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_libdir}/libisal.so.2*
|
||||||
|
%license LICENSE
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%{_includedir}/isa-l.h
|
||||||
|
%{_includedir}/isa-l
|
||||||
|
%{_libdir}/libisal.so
|
||||||
|
%{_libdir}/pkgconfig/libisal.pc
|
||||||
|
%doc examples
|
||||||
|
|
||||||
|
%files tools
|
||||||
|
%{_bindir}/igzip
|
||||||
|
%{_mandir}/man1/igzip.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Jan 05 2025 Arkady L. Shane <tigro@msvsphere-os.ru> - 2.31.0-1
|
||||||
|
- Rebuilt for MSVSphere 10
|
||||||
|
|
||||||
|
* Sat Jan 20 2024 Mattias Ellert <mattias.ellert@physics.uu.se> - 2.31.0-1
|
||||||
|
- Update to version 2.31.0
|
||||||
|
- Drop EPEL 7 support
|
||||||
|
- Run more tests
|
||||||
|
|
||||||
|
* Sat Nov 11 2023 Mattias Ellert <mattias.ellert@physics.uu.se> - 2.30.0-1
|
||||||
|
- Initial package for Fedora
|
Loading…
Reference in new issue