From c045ff37d165b80fe6d5f7d14ded65011565e9b6 Mon Sep 17 00:00:00 2001 From: Honggang Li Date: Mon, 17 Jun 2019 23:42:16 -0400 Subject: [PATCH] disable EFA for 32 bit platforms Signed-off-by: Honggang Li --- libfabric.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libfabric.spec b/libfabric.spec index 384216e..0233339 100644 --- a/libfabric.spec +++ b/libfabric.spec @@ -48,7 +48,13 @@ developing applications that use %{name}. %build +# The Elastic Fabric Adapter does not support 32 bit platforms, as it +# assume the sizeof pointer is 8. +%ifarch %{ix86} "%{arm}" +%configure --disable-static --disable-silent-rules --enable-efa=no +%else %configure --disable-static --disable-silent-rules +%endif %make_build