Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 19:37:07 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403465 - head/java/openjdk8
Message-ID:  <201512101937.tBAJb7jk024139@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Dec 10 19:37:07 2015
New Revision: 403465
URL: https://svnweb.freebsd.org/changeset/ports/403465

Log:
  Work around build failures with Poudriere.  We have to limit max heap size
  when building 32-bit targets on a 64-bit host for some unknown reason.

Modified:
  head/java/openjdk8/Makefile

Modified: head/java/openjdk8/Makefile
==============================================================================
--- head/java/openjdk8/Makefile	Thu Dec 10 18:43:51 2015	(r403464)
+++ head/java/openjdk8/Makefile	Thu Dec 10 19:37:07 2015	(r403465)
@@ -270,6 +270,12 @@ AUTOCONF_ARGS=	-I . -o generated-configu
 
 .include <bsd.port.pre.mk>
 
+.if ${ARCH:Marmv6*} || ${ARCH} == "i386"
+# XXX We must limit max heap size for 32-bit targets.
+CONFIGURE_ARGS+=	--with-boot-jdk-jvmargs="-Xmx768m"
+MAKE_ENV+=	JAVADOC_CMD_MEM="-Xmx768m"
+.endif
+
 .if ${ARCH} == "armv6"
 # From NetBSD http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/lang/openjdk7/hacks.mk
 # Workaround incorrect constant folding of subnormals in javac when the FPU



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512101937.tBAJb7jk024139>