Skip to content

Add CI job that builds with RDMA support enabled#184

Merged
bjosv merged 3 commits intovalkey-io:mainfrom
bjosv:ci-rdma
Mar 26, 2025
Merged

Add CI job that builds with RDMA support enabled#184
bjosv merged 3 commits intovalkey-io:mainfrom
bjosv:ci-rdma

Conversation

@bjosv
Copy link
Copy Markdown
Collaborator

@bjosv bjosv commented Mar 25, 2025

The job will make sure that ENABLE_RDMA / USE_RDMA flags builds.

Includes 2 corrections:

  • Makefile: Let the RDMA library be built and installed using make install.
    Updated make install to depend on the install-rdma target when RDMA is enabled.
    Includes some additional cleanups.
  • CMake: Correcting the link order when building client_test.
    When building with CMake using ENABLE_RDMA=ON and BUILD_SHARED_LIBS=OFF the build fails.
    libvalkey_rdma.a uses vk_usec_now from libvalkey.a, and this is fixed by correcting the link order.

bjosv added 3 commits March 25, 2025 15:39
Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
Let `make install` depend on the install-rdma target when rdma is enabled.
Includes some additional cleanups.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
When building with CMake using ENABLE_RDMA=ON and BUILD_SHARED_LIBS=OFF
the build fails. libvalkey_rdma.a uses `vk_usec_now` from libvalkey.a
and the build is corrected by changing the link order.

Signed-off-by: Björn Svensson <bjorn.a.svensson@est.tech>
@bjosv
Copy link
Copy Markdown
Collaborator Author

bjosv commented Mar 25, 2025

@pizhenwei I was not able to set you as a reviewer, but please check so I haven't destroyed anything you need.

@pizhenwei
Copy link
Copy Markdown
Contributor

pizhenwei commented Mar 26, 2025

@pizhenwei I was not able to set you as a reviewer, but please check so I haven't destroyed anything you need.

LGTM. Thanks!

@bjosv bjosv merged commit 6a1d658 into valkey-io:main Mar 26, 2025
45 checks passed
@bjosv bjosv deleted the ci-rdma branch March 26, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants