Watch
1
0
Fork
You've already forked accel-config
0
No description
  • C 92.2%
  • Shell 6.4%
  • M4 0.7%
  • Makefile 0.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Baumann f4deee6a81
Releasing debian version 4.1.9+ds-2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2026-09-19 20:59:41 +02:00
accfg Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
ccan Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
contrib Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
debian Releasing debian version 4.1.9+ds-2. 2026-09-19 20:59:41 +02:00
Documentation Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
licenses Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
sles Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
test Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
util Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
.gitignore Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
accfg-test.spec.in Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
accfg.spec.in Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
autogen.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
builtin.h Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
configure.ac Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
debbuild.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
debdch.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
git-version Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
git-version-gen Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
LICENSE_GPL_2_0 Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
make-git-snapshot.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
Makefile.am Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
Makefile.am.in Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
README.md Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
rpmbuild-test.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
rpmbuild.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
SECURITY.md Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
test.h Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
test_all.sh Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00
TODO Adding upstream version 4.1.9+ds. 2026-09-19 20:37:32 +02:00

accel-config

Utility library for controlling and configuring DSA (Intel® Data Streaming Accelerator Architecture) and IAA (Intel® Analytics Accelerator Architecture) sub-systems in the Linux kernel

Resolve dependencies

Fedora, RHEL, CentOS

yum groupinstall "Development Tools"
yum install autoconf automake libtool pkgconf rpm-build rpmdevtools
yum install asciidoc xmlto libuuid-devel json-c-devel zlib-devel openssl-devel

Debian

apt install build-essential
apt install autoconf automake autotools-dev libtool pkgconf asciidoc xmlto
apt install uuid-dev libjson-c-dev libkeyutils-dev libz-dev libssl-dev
apt install debhelper devscripts debmake quilt fakeroot lintian asciidoctor
apt install file gnupg patch patchutils

Build

./autogen.sh
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
make
make check
sudo make install

Build with test

./autogen.sh
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --enable-test=yes
make
make check
sudo make install

Build RPM

mkdir -p ${HOME}/rpmbuild/SOURCES
./autogen.sh
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
make rhel/accfg.spec
./rpmbuild.sh

Build as RPM package with test

mkdir -p ${HOME}/rpmbuild/SOURCES
./autogen.sh
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --enable-test=yes
make rhel/accfg-test.spec
./rpmbuild-test.sh

There are a number of packages required for the build steps that may not be installed by default. For information about the required packages, see the "BuildRequires:" lines in accfg.spec.in and accfg-test.spec.in.

Build Debian Package

export DEBEMAIL="your.email@example.org"
export DEBFULLNAME="Firstname Lastname"
./autogen.sh
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 --enable-test=yes

./debdch.sh
(Run dch -r and edit debian/changelog as necessary)

./debbuild.sh

Debian package components would be created in ./debpkg

debian/changelog changes should be committed