Accepting request 871451 from Base:System
OBS-URL: https://build.opensuse.org/request/show/871451 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/accel-config?expand=0&rev=2
This commit is contained in:
commit
572a12bec3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c8aa8421179b71fb728806e5a621655fab24a862f9ce982f3119b92da416949f
|
||||
size 101314
|
3
accel-config-v3.0.1.tar.gz
Normal file
3
accel-config-v3.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:598611c96c9766356be810c2571c0b5b4547d6e91033701e6e9c596ad97b0154
|
||||
size 130568
|
@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 13:09:35 UTC 2021 - Libor Pechacek <lpechacek@suse.com>
|
||||
|
||||
- Update to v3.0.1 (jsc#SLE-13348)
|
||||
- Added IAX support
|
||||
- Added implementation and support for new mdev types
|
||||
- Removed uuid type mdevs
|
||||
- Introduced a new wq API to set max batch and transfer size
|
||||
- Added new GPL2 and LGPL-2.1 license files
|
||||
- Library license changed to LGPL-2.1
|
||||
- Fixed static code analysis bugs
|
||||
- Enhanced Description
|
||||
- Added dependency on the idxd kernel driver
|
||||
- Restricted architecture to x86 - DSA is embedded
|
||||
into Intel CPUs
|
||||
- Added patch: v3.0.1-use-portable-data-types.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 22 09:28:15 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package accel-config
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,36 +15,40 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define pkg_libname libaccel-config1
|
||||
|
||||
Name: accel-config
|
||||
Version: 2.8
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: Configure accelerator subsystem devices
|
||||
Summary: Configure accelerator subsystem devices
|
||||
License: GPL-2.0-only
|
||||
URL: https://github.com/intel/idxd-config
|
||||
Source: https://github.com/intel/idxd-config/archive/accel-config-v%{version}.tar.gz
|
||||
Patch0: v3.0.1-use-portable-data-types.patch
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: binutils
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(libkmod)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: systemd
|
||||
BuildRequires: xmlto
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
BuildRequires: pkgconfig(libkmod)
|
||||
BuildRequires: pkgconfig(libudev)
|
||||
BuildRequires: pkgconfig(uuid)
|
||||
Requires: %{pkg_libname} = %{version}-%{release}
|
||||
|
||||
ExclusiveArch: x86_64 i586
|
||||
|
||||
%description
|
||||
Utility library for configuring the accelerator subsystem.
|
||||
Utility library and command-line tool for configuring the Intel
|
||||
Data Streaming Accelerator (DSA) and Intel Analytics Accelerator
|
||||
(IAX).
|
||||
|
||||
%package -n %{name}-devel
|
||||
Summary: Development files for libaccfg
|
||||
License: LGPL-2.0-only
|
||||
License: LGPL-2.1-only
|
||||
Requires: %{pkg_libname} = %{version}-%{release}
|
||||
|
||||
%description -n %{name}-devel
|
||||
@ -53,13 +57,15 @@ developing applications that use %{name}.
|
||||
|
||||
%package -n %{pkg_libname}
|
||||
Summary: Configuration library for accelerator subsystem devices
|
||||
License: LGPL-2.0-only
|
||||
License: LGPL-2.1-only
|
||||
Requires: kmod(idxd.ko)
|
||||
|
||||
%description -n %{pkg_libname}
|
||||
Libraries for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n idxd-config-accel-config-v%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
echo %{version} > version
|
||||
@ -78,6 +84,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
|
||||
%license licenses/accel-config-licenses LICENSE_GPL_2_0
|
||||
%{_bindir}/accel-config
|
||||
%{_mandir}/man1/accel-config*
|
||||
%dir %{_sysconfdir}/accel-config
|
||||
@ -87,6 +94,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%defattr(-,root,root)
|
||||
%doc README.md
|
||||
%license Documentation/COPYING licenses/BSD-MIT licenses/CC0
|
||||
%license licenses/libaccel-config-licenses accfg/lib/LICENSE_LGPL_2_1
|
||||
%{_libdir}/libaccel-config.so.*
|
||||
|
||||
%files -n %{name}-devel
|
||||
@ -97,4 +105,3 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
%{_libdir}/pkgconfig/libaccel-config.pc
|
||||
|
||||
%changelog
|
||||
|
||||
|
28
v3.0.1-use-portable-data-types.patch
Normal file
28
v3.0.1-use-portable-data-types.patch
Normal file
@ -0,0 +1,28 @@
|
||||
From: Libor Pechacek <lpechacek@suse.cz>
|
||||
Date: Fri, 12 Feb 2021 13:53:45 +0100
|
||||
Subject: [PATCH] Fix compilation on 32bit platforms
|
||||
Patch-upstream: no, submitted at https://github.com/intel/idxd-config/issues/3
|
||||
|
||||
While DSA and IAX are embedded in 64bit CPU, it's fair to assume
|
||||
that the operating system might run in 32bit mode. This patch
|
||||
makes the source code compile in 32bit environment.
|
||||
---
|
||||
accfg/libaccel_config.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/accfg/libaccel_config.h b/accfg/libaccel_config.h
|
||||
index 0814601a9156..bed340d016ce 100644
|
||||
--- a/accfg/libaccel_config.h
|
||||
+++ b/accfg/libaccel_config.h
|
||||
@@ -102,7 +102,7 @@ struct wq_parameters {
|
||||
unsigned int priority;
|
||||
int block_on_fault;
|
||||
unsigned int max_batch_size;
|
||||
- unsigned long max_transfer_size;
|
||||
+ uint64_t max_transfer_size;
|
||||
const char *mode;
|
||||
const char *type;
|
||||
const char *name;
|
||||
--
|
||||
2.30.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user