Date: Thu, 13 Jun 2024 10:45:17 GMT From: Dirk Meyer <dinoex@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 8022738ef798 - main - devel/spark: lowering the memory to 1gb for i386 and armv* Message-ID: <202406131045.45DAjHv1078271@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=8022738ef798beb02ebc973326a31edd251289a4 commit 8022738ef798beb02ebc973326a31edd251289a4 Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2024-06-13 10:44:56 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2024-06-13 10:44:56 +0000 devel/spark: lowering the memory to 1gb for i386 and armv* PR: 266902 --- devel/spark/Makefile | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/devel/spark/Makefile b/devel/spark/Makefile index 9f7b121df55d..2dee0fc19f88 100644 --- a/devel/spark/Makefile +++ b/devel/spark/Makefile @@ -14,6 +14,9 @@ WWW= http://spark.apache.org/ LICENSE= APACHE20 +BROKEN_armv6= fails to build: maven-assembly-plugin: Failed to retrieve numeric file attributes +BROKEN_armv7= fails to build: maven-assembly-plugin: Failed to retrieve numeric file attributes + BUILD_DEPENDS= ${LOCALBASE}/lib/libsnappyjava.so:archivers/snappy-java \ bash:shells/bash \ maven>0:devel/maven @@ -26,9 +29,6 @@ USE_JAVA= yes USE_RC_SUBR= spark_master spark_worker SHEBANG_FILES= bin/sparkR -MAKE_ENV+= JAVA_HOME=${JAVA_HOME} \ - MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g" - NO_ARCH= yes SUB_LIST= SPARK_GROUP=spark \ @@ -41,6 +41,15 @@ PLIST_SUB= VER=${PORTVERSION} .include <bsd.port.pre.mk> +.if ${ARCH:Marmv?} || ${ARCH} == "i386" +MAKE_ENV+= MAVEN_OPTS="-Xmx1g -XX:ReservedCodeCacheSize=1g" \ + JAVA_HOME=${JAVA_HOME} +.else +MAKE_ENV+= MAVEN_OPTS="-Xmx2g -XX:ReservedCodeCacheSize=2g" \ + JAVA_HOME=${JAVA_HOME} +.endif + + .if ${ARCH} == "amd64" JAVA_ARCH= x86_64 .elif ${ARCH} == "i386"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406131045.45DAjHv1078271>