Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: enable rdma in spdk build #58

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading