Skip to content

Commit

Permalink
Added correct list of required packages(Depends) for perftest.deb
Browse files Browse the repository at this point in the history
Perftest requires the rdma-core and libibumad packages for proper operation, but they are missing from the dependency list.
As a result, perftest can be installed successfully, and its tools can be used, but some will not work without the libibumad package.
This patch adds the missing dependencies to the perftest package.
  • Loading branch information
Tamara Babayan authored and TamaraBabayan committed Dec 19, 2024
1 parent b06fadb commit 4b2b48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Vcs-Browser: http://git.openfabrics.org/git?p=~shamoya/perftest.git;a=summary

Package: perftest
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libibverbs1 (>= 1.1.6), librdmacm1 (>=1.0.8)
Depends: ${shlibs:Depends}, ${misc:Depends}, libibverbs1 (>= 1.1.6), librdmacm1 (>=1.0.8), libibumad, rdma-core
Description: Infiniband verbs performance tests
This is a collection of tests written using Infiniband verbs intended for
use as a performance micro-benchmark. The tests can measure the latency
Expand Down

1 comment on commit 4b2b48a

@TamaraBabayan
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can install perftest without libibumad package and it will be installed successfully. Some of the test tools require libibumad, which is not set as dependency.

Here is the result of trying to use ib_send_lat without libibumad.

ib_send_bw
ib_send_bw: error while loading shared libraries: libibumad.so.3: cannot open shared object file: No such file or directory

So it must be in the list of required packages to avoid such errors.

Please sign in to comment.