Skip to content

Commit

Permalink
chore: enable rdma in spdk build
Browse files Browse the repository at this point in the history
Signed-off-by: Diwakar Sharma <[email protected]>
  • Loading branch information
dsharma-dc committed Jul 15, 2024
1 parent ea6ef4e commit afe1c96
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ fn configure_spdk() -> Result<LibraryConfig, Error> {
spdk_lib.mark_system("ssl");
spdk_lib.mark_system("uring");
spdk_lib.mark_system("uuid");
spdk_lib.mark_system("rdmacm");
spdk_lib.mark_system("ibverbs");

spdk_lib.set_static_search(true);

Expand Down
1 change: 1 addition & 0 deletions build_scripts/build_spdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ CONFIGURE_ARGS=(
"--without-fuse"
"--disable-unit-tests"
"--disable-tests"
"--with-rdma"
)

MAKE_DEFAULT_ARGS="-j" # Default args for invoking GNU make
Expand Down
2 changes: 2 additions & 0 deletions nix/pkgs/libspdk/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
, udev
, utillinux
, zlib
, rdma-core
}:
let
# Suffix for debug build name.
Expand Down Expand Up @@ -132,6 +133,7 @@ let
ncurses
numactl
openssl
rdma-core
(python3.withPackages (ps: with ps; [ pyelftools ]))
zlib
] ++ extraBuildInputs;
Expand Down

0 comments on commit afe1c96

Please sign in to comment.