Skip to content

ramesh-thomas/idxd-config

 
 

Repository files navigation

accel-config

Utility library for controlling and configuring DSA (Data-Streaming Accelerator) sub-system in the Linux kernel

Resolve dependencies

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

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.

About

Accel-config / libaccel-config

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 94.6%
  • Shell 2.8%
  • M4 1.4%
  • Makefile 1.2%