Building the RPMs on a Test Server

DAOS is delivered as an RPM for multiple Linux distributions. This page contains details on building the DAOS rpm (for RPM-based Linux systems such as RedHat and CentOS).

To begin with, ensure you have the Nexus Yum repos configured, so that yum can find all needed software dependencies:

$ cat /etc/yum.repos.d/choose-any-repo-name-you-like.repo
name=created by dnf config-manager from https://repo.dc.hpdd.intel.com/repository/daos-stack-el-7-x86_64-stable-local

Build the dependencies specified in the daos.spec file:

# yum-builddep daos.spec

Build your own DAOS RPM using the rpms scons target:

$ scons rpms

Using the RPMs from the Build Server

The DAOS Jenkins pipeline saves the RPMs to the Artifacts section of the build report.  They can be downloaded and installed using yum localinstall.  Note that the DAOS RPM set must be installed using a single one-line yum command.

# yum localinstall -y \
  daos-1.1.0-30.4879.ge155e7fc.el7.x86_64.rpm \
  daos-client-1.1.0-30.4879.ge155e7fc.el7.x86_64.rpm \
  daos-debuginfo-1.1.0-30.4879.ge155e7fc.el7.x86_64.rpm \
  daos-devel-1.1.0-30.4879.ge155e7fc.el7.x86_64.rpm \
  daos-server-1.1.0-30.4879.ge155e7fc.el7.x86_64.rpm \

More info

See also the /wiki/spaces/DAOS/pages/2164625288 page.