From 4e2bd713356cfc89ea6c898985c492af93b34a5d Mon Sep 17 00:00:00 2001 From: Lukasz Dorau Date: Tue, 6 Sep 2022 14:11:43 +0200 Subject: [PATCH] ci: build the librpma fio engine Install the librpma library and two required packges (libpmem2-dev and libprotobuf-c-dev) to have the librpma fio engine built. Signed-off-by: Lukasz Dorau --- ...travis-install-librpma.sh => actions-install-librpma.sh} | 3 +-- ci/actions-install.sh | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) rename ci/{travis-install-librpma.sh => actions-install-librpma.sh} (74%) diff --git a/ci/travis-install-librpma.sh b/ci/actions-install-librpma.sh similarity index 74% rename from ci/travis-install-librpma.sh rename to ci/actions-install-librpma.sh index 4e5ed21d..31f9f712 100755 --- a/ci/travis-install-librpma.sh +++ b/ci/actions-install-librpma.sh @@ -1,7 +1,6 @@ #!/bin/bash -e -# 11.02.2021 Merge pull request #866 from ldorau/rpma-mmap-memory-for-rpma_mr_reg-in-rpma_flush_apm_new -LIBRPMA_VERSION=fbac593917e98f3f26abf14f4fad5a832b330f5c +LIBRPMA_VERSION="1.0.0" ZIP_FILE=rpma.zip WORKDIR=$(pwd) diff --git a/ci/actions-install.sh b/ci/actions-install.sh index c209a089..82e14d2a 100755 --- a/ci/actions-install.sh +++ b/ci/actions-install.sh @@ -44,7 +44,9 @@ DPKGCFG libiscsi-dev libnbd-dev libpmem-dev + libpmem2-dev libpmemblk-dev + libprotobuf-c-dev librbd-dev libtcmalloc-minimal4 nvidia-cuda-dev @@ -67,6 +69,10 @@ DPKGCFG sudo apt-get -qq update echo "Installing packages... ${pkgs[@]}" sudo apt-get install -o APT::Immediate-Configure=false --no-install-recommends -qq -y "${pkgs[@]}" + if [ "${CI_TARGET_ARCH}" == "x86_64" ]; then + # install librpma from sources + ci/actions-install-librpma.sh + fi } install_linux() { -- 2.25.1