Skip to content

fabtests/efa: guard fi_efa_rma_bw build on FI_EFA_WR_HIGH_PPS#12291

Open
shijin-aws wants to merge 1 commit into
ofiwg:mainfrom
shijin-aws:pps
Open

fabtests/efa: guard fi_efa_rma_bw build on FI_EFA_WR_HIGH_PPS#12291
shijin-aws wants to merge 1 commit into
ofiwg:mainfrom
shijin-aws:pps

Conversation

@shijin-aws
Copy link
Copy Markdown
Contributor

fi_efa_rma_bw uses FI_EFA_WR_HIGH_PPS from rdma/fi_ext_efa.h. Only build the test when the symbol is present in the installed libfabric headers.

Add AC_CHECK_DECL for FI_EFA_WR_HIGH_PPS in prov/efa/configure.m4 and wrap the binary target with the resulting HAVE_FI_EFA_WR_HIGH_PPS conditional in Makefile.include.

Move the m4_include of prov/efa/configure.m4 in configure.ac to after --with-libfabric sets CPPFLAGS, so that header checks against the libfabric install tree work correctly.

fi_efa_rma_bw uses FI_EFA_WR_HIGH_PPS from rdma/fi_ext_efa.h. Only
build the test when the symbol is present in the installed libfabric
headers.

Add AC_CHECK_DECL for FI_EFA_WR_HIGH_PPS in prov/efa/configure.m4 and
wrap the binary target with the resulting HAVE_FI_EFA_WR_HIGH_PPS
conditional in Makefile.include.

Move the m4_include of prov/efa/configure.m4 in configure.ac to after
--with-libfabric sets CPPFLAGS, so that header checks against the
libfabric install tree work correctly.

Signed-off-by: Shi Jin <sjina@amazon.com>
@shijin-aws shijin-aws requested a review from a team May 26, 2026 23:17
@shijin-aws
Copy link
Copy Markdown
Contributor Author

@ooststep can u test if this pr works for you ?

@shijin-aws shijin-aws requested a review from j-xiong May 26, 2026 23:18
@shijin-aws shijin-aws requested a review from ooststep May 27, 2026 01:30
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