Control: tags -1 + patch

On Sun, 1 Jan 2017 17:38:52 +0500 Andrey Rahmatullin <w...@debian.org>
wrote:
> On Mon, Dec 19, 2016 at 10:26:42PM +0100, Lucas Nussbaum wrote:
> > > make[3]: *** No rule to make target '/usr/lib/openmpi/include/mpif.h', 
> > > needed by 'mpif.h'.  Stop.
> The /usr/lib/openmpi path is hardcoded in
> debian/blacs-mpi-implementations.patch  and should be replaced with the
> correct triplet path.

Indeed.
The attached patch does the trick.

Thanks,

_g.
diff -u blacs-mpi-1.1/debian/blacs-mpi-implementations.patch blacs-mpi-1.1/debian/blacs-mpi-implementations.patch
--- blacs-mpi-1.1/debian/blacs-mpi-implementations.patch
+++ blacs-mpi-1.1/debian/blacs-mpi-implementations.patch
@@ -73,7 +73,7 @@
 +endif
 +ifeq ($(MPI),openmpi)
 +# for compilation with openmpi:
-+   MPIdir = /usr/lib/openmpi
++   MPIdir = /usr/lib/$(DEB_HOST_MULTIARCH)/openmpi
 +   MPILIBdir = $(MPIdir)/lib
 +   MPIINCdir = $(MPIdir)/include
 +   MPILIB = $$(pkg-config mpi-fort --libs)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to