Skip to content

Commit

Permalink
tests/lcitool: Install libibumad to cover RDMA on Debian based distros
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd authored and stsquad committed Feb 9, 2022
1 parent d2b7bb0 commit 4491c46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/docker/dockerfiles/ubuntu1804.docker
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions tests/docker/dockerfiles/ubuntu2004.docker
Expand Up @@ -53,6 +53,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
libglusterfs-dev \
libgnutls28-dev \
libgtk-3-dev \
libibumad-dev \
libibverbs-dev \
libiscsi-dev \
libjemalloc-dev \
Expand Down
1 change: 1 addition & 0 deletions tests/lcitool/projects/qemu.yml
Expand Up @@ -43,6 +43,7 @@ packages:
- libfdt
- libffi
- libgcrypt
- libibumad
- libibverbs
- libiscsi
- libjemalloc
Expand Down

0 comments on commit 4491c46

Please sign in to comment.