From: Vlastimil Babka Date: Tue, 1 May 2007 10:12:48 +0000 (+0000) Subject: Raise JDK heap size only for compilers other than javac, because fork for javac cause... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=76f9c9fbe48fa1b04ab0f10721888fceaface3e0;p=gentoo.git Raise JDK heap size only for compilers other than javac, because fork for javac causes twice memory consumption otherwise - bug #175578. Package-Manager: portage-2.1.2.5 --- diff --git a/dev-java/fastutil/ChangeLog b/dev-java/fastutil/ChangeLog index 14b1700e032a..0ca03b8734d2 100644 --- a/dev-java/fastutil/ChangeLog +++ b/dev-java/fastutil/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-java/fastutil # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/ChangeLog,v 1.28 2007/04/12 13:46:28 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/ChangeLog,v 1.29 2007/05/01 10:12:48 caster Exp $ + + 01 May 2007; Vlastimil Babka fastutil-5.0.5.ebuild: + Raise JDK heap size only for compilers other than javac, because fork for + javac causes twice memory consumption otherwise - bug #175578. 12 Apr 2007; fastutil-4.4.2-r1.ebuild, fastutil-5.0.5.ebuild: diff --git a/dev-java/fastutil/Manifest b/dev-java/fastutil/Manifest index cdd6c3b4a416..76a31c71a54b 100644 --- a/dev-java/fastutil/Manifest +++ b/dev-java/fastutil/Manifest @@ -9,14 +9,14 @@ EBUILD fastutil-4.4.2-r1.ebuild 907 RMD160 af3c576420a1b33c8cd4b65218d0ecd152c63 MD5 553e251056a4e435d8ceb7cf19a526b6 fastutil-4.4.2-r1.ebuild 907 RMD160 af3c576420a1b33c8cd4b65218d0ecd152c63e58 fastutil-4.4.2-r1.ebuild 907 SHA256 3e29e4a56e76dea8606d9fbeae6f963fd94bbdaac86df00a74ecc3f7d301bfee fastutil-4.4.2-r1.ebuild 907 -EBUILD fastutil-5.0.5.ebuild 945 RMD160 da392c183e55ffba332c2c07cf32a048d9e497e2 SHA1 c849de3c61942aee4e97f4aa6fe10f0914101cba SHA256 45cb01f3e36607f7809b46739ee14e073b29acfc2acc3cf364c3e620f18db9a3 -MD5 535070ff3ab5734bafbe6de49593c75f fastutil-5.0.5.ebuild 945 -RMD160 da392c183e55ffba332c2c07cf32a048d9e497e2 fastutil-5.0.5.ebuild 945 -SHA256 45cb01f3e36607f7809b46739ee14e073b29acfc2acc3cf364c3e620f18db9a3 fastutil-5.0.5.ebuild 945 -MISC ChangeLog 3265 RMD160 eaf7ff0b67eb451f0023a5766ecaf4bc65ca7dd0 SHA1 acd85b56fc90946d2f11dcc9502c563afdd866f9 SHA256 da5bef9c7fe0148cbdf2a97c5f73fd7210a20b1c399e16f0f8906b2e83fb1443 -MD5 00675023959f6a728466f20ba5f61a56 ChangeLog 3265 -RMD160 eaf7ff0b67eb451f0023a5766ecaf4bc65ca7dd0 ChangeLog 3265 -SHA256 da5bef9c7fe0148cbdf2a97c5f73fd7210a20b1c399e16f0f8906b2e83fb1443 ChangeLog 3265 +EBUILD fastutil-5.0.5.ebuild 1023 RMD160 bc7cdc318d8498dc7b0deb14f18a449d5dcf618b SHA1 751587c93c5f56ae3c42c390d9b77b27b7d08999 SHA256 4c8bb886ea6951c24b8d75affbcd0485908b0816c1df615d28d9ee033571af15 +MD5 0250c5811ba3105fbf3d5d440d6d7353 fastutil-5.0.5.ebuild 1023 +RMD160 bc7cdc318d8498dc7b0deb14f18a449d5dcf618b fastutil-5.0.5.ebuild 1023 +SHA256 4c8bb886ea6951c24b8d75affbcd0485908b0816c1df615d28d9ee033571af15 fastutil-5.0.5.ebuild 1023 +MISC ChangeLog 3483 RMD160 7abe60e7ad76d7b644379b3b3b61216ca783523f SHA1 6cd2e343c3cf13cbe9f43701540b1f7caba6f153 SHA256 bec93c6c7ddbc789f61d29c8b23f347122231b81cd4e0eeac4241c2d773cb9b7 +MD5 1a2020990d6f1d5df981bb40b4ce54a9 ChangeLog 3483 +RMD160 7abe60e7ad76d7b644379b3b3b61216ca783523f ChangeLog 3483 +SHA256 bec93c6c7ddbc789f61d29c8b23f347122231b81cd4e0eeac4241c2d773cb9b7 ChangeLog 3483 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 diff --git a/dev-java/fastutil/fastutil-5.0.5.ebuild b/dev-java/fastutil/fastutil-5.0.5.ebuild index 512a37942709..1c7c97639da3 100644 --- a/dev-java/fastutil/fastutil-5.0.5.ebuild +++ b/dev-java/fastutil/fastutil-5.0.5.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/fastutil-5.0.5.ebuild,v 1.5 2007/04/12 13:46:28 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/fastutil-5.0.5.ebuild,v 1.6 2007/05/01 10:12:48 caster Exp $ inherit java-pkg-2 java-ant-2 @@ -19,8 +19,9 @@ RDEPEND=">=virtual/jre-1.5" src_compile() { emake sources || die "failed to make sources" - # bug 162650 - export ANT_OPTS="-Xmx512m" + # bug 162650 and #175578 + java-pkg_init-compiler_ + [[ ${GENTOO_COMPILER} != "javac" ]] && export ANT_OPTS="-Xmx512m" java-pkg-2_src_compile }