Change install libdir to openmpi3
authorAlastair McKinstry <mckinstry@debian.org>
Wed, 27 Oct 2021 08:08:51 +0000 (09:08 +0100)
committerAlastair McKinstry <mckinstry@debian.org>
Wed, 27 Oct 2021 08:08:51 +0000 (09:08 +0100)
Last-Updated: 2019-03-09
Forwarded: no

This is needed to ensure that libopenmpi2, libopenmpi3 do not collide.

Gbp-Pq: Name libdir.patch

configure.ac

index d2c4836e238f3355775c526a66fb5e317ae0caca..af478691471e0311198f8f69c059ada6929fcdec 100644 (file)
@@ -1446,11 +1446,13 @@ esac
 # easier to deal with the problem of opal, orte, and ompi built from
 # their own tarballs, with their own PACKAGE variables.
 opaldatadir='${datadir}/openmpi'
-opallibdir='${libdir}/openmpi'
+opallibdir='${libdir}/openmpi3'
 opalincludedir='${includedir}/openmpi'
+pkglibdir='${libdir}/openmpi3'
 AC_SUBST(opaldatadir)
 AC_SUBST(opallibdir)
 AC_SUBST(opalincludedir)
+AC_SUBST(pkglibdir)
 
 OPAL_SET_MCA_PREFIX([OMPI_MCA_])
 OPAL_SET_MCA_CMD_LINE_ID([mca])