tests/lcitool: Install libibumad to cover RDMA on Debian based distros
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 4 Feb 2022 20:43:20 +0000 (20:43 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 9 Feb 2022 12:08:42 +0000 (12:08 +0000)
On Debian we also need libibumad to enable RDMA:

  $ ../configure --enable-rdma

  ERROR:  OpenFabrics librdmacm/libibverbs/libibumad not present.
          Your options:
           (1) Fast: Install infiniband packages (devel) from your distro.
           (2) Cleanest: Install libraries from www.openfabrics.org
           (3) Also: Install softiwarp if you don't have RDMA hardware

Add the dependency to lcitool's qemu.yml (where librdmacm and
libibverbs are already listed) and refresh the generated files
by running:

      $ make lcitool-refresh

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20220121154134.315047-8-f4bug@amsat.org>
Message-Id: <20220204204335.1689602-12-alex.bennee@linaro.org>

tests/docker/dockerfiles/ubuntu1804.docker
tests/docker/dockerfiles/ubuntu2004.docker
tests/lcitool/projects/qemu.yml

index 003ee2cfedd2395a2b08ca0b9884c3c8af25293e..699f2dfc6a9fe960651216af842647d507bb2684 100644 (file)
@@ -52,6 +52,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
             libglib2.0-dev \
             libgnutls28-dev \
             libgtk-3-dev \
+            libibumad-dev \
             libibverbs-dev \
             libiscsi-dev \
             libjemalloc-dev \
index 8993d2d9e057cb790cf7bb769578d7ccadc4cdcf..87513125b8ea3470ac2f30cc21a22b34ca331923 100644 (file)
@@ -53,6 +53,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
             libglusterfs-dev \
             libgnutls28-dev \
             libgtk-3-dev \
+            libibumad-dev \
             libibverbs-dev \
             libiscsi-dev \
             libjemalloc-dev \
index de51a2f1dd4fa6a61b61d5f25c2c5d82f9e82b06..958868a6ee9496a1b837bb4d72c18bd5446f9ea5 100644 (file)
@@ -43,6 +43,7 @@ packages:
  - libfdt
  - libffi
  - libgcrypt
+ - libibumad
  - libibverbs
  - libiscsi
  - libjemalloc