Wednesday, November 01, 2023

devel/openmpi: prevent from using linux/input.h if present

Prevent openmpi to detect libudev even if the current detection fails to
find libudev successfully

OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/openmpi/Makefile,v
diff -u -p -r1.42 Makefile
--- Makefile 21 Sep 2023 09:50:02 -0000 1.42
+++ Makefile 1 Nov 2023 20:43:48 -0000
@@ -2,6 +2,7 @@ COMMENT = open source MPI-3.1 implement

V = 4.1.5
DISTNAME = openmpi-$V
+REVISION = 0

SHARED_LIBS += open-pal 8.0 # 70.2
SHARED_LIBS += mca_common_sm 5.0 # 70.0
@@ -41,6 +42,8 @@ CONFIGURE_ARGS += --enable-mpi-fortran=u
--enable-mca-no-build=op-avx \
FC=egfortran \
CC=egcc
+
+CONFIGURE_ENV += enable_libudev=no

MAKE_FLAGS = V=1
FAKE_FLAGS = sysconfdir=${PREFIX}/share/examples/openmpi/

No comments:

Post a Comment