View | Details | Raw Unified | Return to bug 266902 | Differences between
and this patch

Collapse All | Expand All

(-)devel/spark/Makefile (-2 / +7 lines)
Lines 26-33 Link Here
26
USE_RC_SUBR=	spark_master spark_worker
26
USE_RC_SUBR=	spark_master spark_worker
27
SHEBANG_FILES=	bin/sparkR
27
SHEBANG_FILES=	bin/sparkR
28
28
29
MAKE_ENV+=	JAVA_HOME=${JAVA_HOME} \
29
MAKE_ENV+=      JAVA_HOME=${JAVA_HOME}
30
		MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g"
31
30
32
NO_ARCH=	yes
31
NO_ARCH=	yes
33
32
Lines 40-45 Link Here
40
PLIST_SUB=	VER=${PORTVERSION}
39
PLIST_SUB=	VER=${PORTVERSION}
41
40
42
.include <bsd.port.pre.mk>
41
.include <bsd.port.pre.mk>
42
43
.if ${ARCH} == "i386"  || ${ARCH} == "armv7"
44
MAKE_ENV+=	MAVEN_OPTS="-Xmx1g -XX:ReservedCodeCacheSize=1g"
45
.else
46
MAKE_ENV+=	MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g"
47
.endif
43
48
44
.if ${ARCH} == "amd64"
49
.if ${ARCH} == "amd64"
45
JAVA_ARCH=	x86_64
50
JAVA_ARCH=	x86_64

Return to bug 266902