From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58ECF158086 for ; Sat, 25 Dec 2021 13:21:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B28F2BC032; Sat, 25 Dec 2021 13:21:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6CCD02BC032 for ; Sat, 25 Dec 2021 13:21:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8CE20342DAA for ; Sat, 25 Dec 2021 13:21:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7D983261 for ; Sat, 25 Dec 2021 13:21:29 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1640438484.a8ed50692eb36f0ee397f6688126f9bb7a7ed662.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-java/sbt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-java/sbt/sbt-0.13.18.ebuild X-VCS-Directories: dev-java/sbt/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: a8ed50692eb36f0ee397f6688126f9bb7a7ed662 X-VCS-Branch: master Date: Sat, 25 Dec 2021 13:21:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b60d061f-7b13-44ce-ba42-8d1e5ae6e8d0 X-Archives-Hash: 9428110a10b7ac50a1870332c7d36010 commit: a8ed50692eb36f0ee397f6688126f9bb7a7ed662 Author: Benda Xu gentoo org> AuthorDate: Fri Dec 24 15:53:40 2021 +0000 Commit: Benda XU gentoo org> CommitDate: Sat Dec 25 13:21:24 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ed5069 dev-java/sbt: double the heap upper limit to 3GB. Otherwise the build fails with out-of-memory error. Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Benda Xu gentoo.org> dev-java/sbt/sbt-0.13.18.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-java/sbt/sbt-0.13.18.ebuild b/dev-java/sbt/sbt-0.13.18.ebuild index c4f3a8c3e8bc..4262d767d5b3 100644 --- a/dev-java/sbt/sbt-0.13.18.ebuild +++ b/dev-java/sbt/sbt-0.13.18.ebuild @@ -97,12 +97,12 @@ src_prepare() { cp -p "${DISTDIR}/${L_P}.jar" "${WORKDIR}/${L_P}/${L_PN}.jar" || die cat <<- EOF > "${WORKDIR}/${L_P}/sbt" #!/bin/sh - SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled" + SBT_OPTS="-Xms512M -Xmx3072M -Xss1M -XX:+CMSClassUnloadingEnabled" java -Djavac.args="-encoding UTF-8" -Duser.home="${WORKDIR}" \${SBT_OPTS} -jar "${WORKDIR}/${L_P}/sbt-launch.jar" "\$@" EOF cat <<- EOF > "${S}/${P}" #!/bin/sh - SBT_OPTS="-Xms512M -Xmx1536M -Xss1M -XX:+CMSClassUnloadingEnabled" + SBT_OPTS="-Xms512M -Xmx3072M -Xss1M -XX:+CMSClassUnloadingEnabled" java -Djavac.args="-encoding UTF-8" -Duser.home="${WORKDIR}" \${SBT_OPTS} -jar "${S}/launch/target/sbt-launch.jar" "\$@" EOF chmod u+x "${WORKDIR}/${L_P}/sbt" "${S}/${P}" || die