svn commit: r561371 - head/net/mpich
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jan 12 19:32:05 UTC 2021
Author: pkubaj
Date: Tue Jan 12 19:32:04 2021
New Revision: 561371
URL: https://svnweb.freebsd.org/changeset/ports/561371
Log:
net/mpich: fix build on powerpc64
Neither __BYTE_ORDER nor __BIG_ENDIAN are defined:
In file included from src/mpi/datatype/typerep/dataloop/looputil.c:10:
./src/mpi/datatype/typerep/dataloop/looputil.h:57:2: error: This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
#error This code assumes that __BYTE_ORDER and __BIG_ENDIAN are defined
Modified:
head/net/mpich/Makefile
Modified: head/net/mpich/Makefile
==============================================================================
--- head/net/mpich/Makefile Tue Jan 12 19:09:03 2021 (r561370)
+++ head/net/mpich/Makefile Tue Jan 12 19:32:04 2021 (r561371)
@@ -70,6 +70,8 @@ CONFIGURE_ARGS= --enable-fast="" --with-hwloc-prefix=$
LIBS="-L${LOCALBASE}/lib -lepoll-shim -ljson-c -lm" \
BASH_SHELL=${LOCALBASE}/bin/bash
+CFLAGS_powerpc64= -D__BIG_ENDIAN
+
.include <bsd.port.options.mk>
.for pm in ${OPTIONS_GROUP_PM}
More information about the svn-ports-all
mailing list