aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/jamvm
AgeCommit message (Collapse)Author
2016-01-04jamvm-git uprev to 2.0.0Amy Fong
Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04Missing inheritance and dependencies in some java packagesAmy Fong
icedtea7-native, openjdk-7, and jamvm-native requires pkg-config to configure without running into an error similar to 7554: syntax error near unexpected token `NSS,' 7554: `PKG_CHECK_MODULES(NSS, nss, NSS_FOUND=yes, NSS_FOUND=no)' classpath-native and jamvm-native both needs to depend on java-initial-native Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04jamvm.inc: jamvm recipe cleanupAmy Fong
jamvm.inc's SRC_URI isn't used anymore, all jamvm bb recipes have been defining their own. In a rare instance, a build failed because it was using the SRC_URI defined from jamvm.inc instead (jamvm_git.bb), this cleanup should prevent this oddity from occuring. Signed-off-by: Amy Fong <amy.fong@windriver.com> Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2016-01-04Revert "meta-java: rely on well known bootstrap-path"Jackie Huang
This reverts commit 04d5d0bf414c05ca59618d77f17ff9898aa1c566. Detail reason is in the following commit. Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2015-12-08meta-java: rely on well known bootstrap-pathJens Rehsack
Instead of potential circular depending virtual/javac-native (even this recipe provides such a useable java-native), rely on well known path via cacao-native to build up to icedtea7-native in reliable manner. virtual/javac-native should be used by parts not belonging to the bootstrap phase. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2015-10-29Avoid parse time errors due to dependency on x11, for distros without x11Jens Rehsack
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao (_class-target) * classpath (_class-target) * jamvm (_class-target) * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). This patch improves the idea from Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Jens Rehsack <sno@netbsd.org> Acked-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-26Revert "Don't depend on a hardcoded compiler"Otavio Salvador
This reverts commit 15ed9662e26ed4ac8d843fb9d2335a49a9c03088. The change has break external builds causing build failures. The change here needs to be revisited to avoid the breakages and than re-applied. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Avoid parse time errors due to dependency on x11, for distros without x11Mario Domenech Goulart
BitBake raises some errors when processing recipes that depend on x11 for distros that don't have x11 in DISTRO_FEATURES. To work around that issue, REQUIRED_DISTRO_FEATURES = "x11" (from distro_features_check.bbclass) has been set for the following recipes: * cacao * classpath * jamvm * openjdk-6-release * openjdk-7-release That makes BitBake skip those recipes during the cache generation (they'd still be parsed, but ignored). Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-08-18Don't depend on a hardcoded compilerMario Domenech Goulart
The recipes below depended on a hardcoded native compile (ecj-initial-native). Since we may use another native compiler to build them, we set the dependency in virtual/javac-native instead. * cacao * classpath-native * jamvm Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-31cacao-initial-native, jamvm-initial-native: provide virtual/java-initial-nativeMario Domenech Goulart
Since bd9c6023, virtual/java-initial is provided by cacao-initial-native and jamvm-initial-native. For consistency, this commit makes them provide virtual/java-initial-native instead. Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2015-03-11initials: silence "populate_sysroot manifest not found" warningsMagnus Olsson
A number of recipes in meta-java use autotools.bbclass for building; internally it uses the sstate-control populate_sysroot manifests to locate and copy aslocals for configure dependencies as part of the do_configure step. The manifest path differs depending on if it's a native package or not so autotools.bbclass looks at the package name to determine if its native or not (it's native if it ends with "-native"). The warnings are emitted because a few (native) recipes in meta-java (such as cacao-initial, classpath-initial and more) are incorrectly being classified as non-native by autotools.bbclass, which makes it look for the manifest in the wrong place and finally gives up with the warning: WARNING: /home/oe/tmp-glibc/sstate-control/manifest-mymachine-libecj-bootstrap.populate_sysroot not found This happens for cacao-initial, classpath-initial, ecj-initial, libecj-boostrap, jamvm-initial and jikes-initial since they are all native and rely on autotools. This patch renames the recipes so they end with -native, e.g ecj-initial-native. It also updates the recipes so they DEPEND on the corresponding new name. This helps autotools.bbclass to properly classify the recipes are native and silence the warnings. Signed-off-by: Magnus Olsson <magnus@minimum.se> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2014-11-23jamvm: port to new update-alternativesMerten Sach
2014-04-16jamvm: update git url to sourceforge while berlios is goneHenning Heinold
2014-04-16jamvm: update git version to ebd11bde0a97b57f0d18938c6b65468d3c932719Henning Heinold
* remove annotations.patch, because it was fixed upstream
2014-04-16jamvm: add inherit pkgconfigHenning Heinold
2013-10-01jamvm/java: allow spaces in argumentsRiku Voipio
Current IFS mangling blows up on the face: | configure:2341: javac -classpath .: Test.java | Invalid maximum heap size: -Xmx1024m-cp/srv/oe/b Simpler command line expansion works just as easy. * fixed placeholder path by Henning Heinold Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2013-09-29jamvm-native: set default heap to 1024M via cflagsHenning Heinold
2013-09-29jamvm-native: separate bootclasspath out into shell scriptHenning Heinold
* instead of hardcode BCP and LD_LIBRARY_PATH into serval files use a shell script and set them there * this allow us again to use other vms for java-native
2013-09-29jamvm: update to git revision ac22c9948434e528ece451642b4ebde40953ee7eHenning Heinold
* fix gnuclasspath annotations
2013-09-29java-library.bbclass: Export BOOTCLASSPATH and LD_LIBRARY_PATHKhem Raj
They are helpful in rebuilding from shared state since jamvm is not so relocatable. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-09-29icedtea: Make shared state friendlyKhem Raj
icedtea-native encodes absolute build time classpaths which wont work in sstate however at same time we can override it with env variables like BOOTCLASSPATH and LD_LIBRARY_PATH to reflect current build environment. Secondly, exclude ICEDTEA_PARALLEL_MAKE from shared state signatures, it can alter signatures if PARALLEL_MAKE value between producer and consumer of sstate is not matching. Now that icedtea7-native is shared state safe, remove the shared state invalidation on jamvm-native that was needed for icedtea7-native to build Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-03-14jamvm-initial: Disable shared stateKhem Raj
shared state does not work for jamvm since it hardcodes the staging paths into binaries it uses packageconfig so lets inherit relevant class Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-03-14jamvm: sstate doesnt work for jamvm-nativeKhem Raj
jamvm uses hardcoded values for classpath which then gets into the jamvm-native binary now if you unpack the shared state into a different tree it will not find the right classes and fail icedtea7-native-2.1.3-r1.0/fake-jdk/bin/javah exhibits Classpath bug 39408... configure: error: The Java compiler /evobuilds2/buildbot/slaves/slave/kraj/build/yocto/daily/tmp-eglibc/sysroots/x86_64-linux/usr/bin/javac failed For more details see http://old.nabble.com/Re:-Problems-with-JamVM-(I-am-a-beginner)please-help-me-out!-p17404599.html Signed-off-by: Khem Raj <raj.khem@gmail.com>
2013-01-24jamvm-initial: rename patches directory for newer bitbakeHenning Heinold
2012-11-22recipes: Fix license strings to match common licensesKhem Raj
Fixes warnings like WARNING: bcel-native: No generic license file exists for: AL2.0 in any provider and so on Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-10-18jamvm: update git versionHenning Heinold
2012-07-19jamvm: update git version to 2fdfc86c4c52c14668bcb87fec8cd8ba87e24fc3Henning Heinold
2012-05-25jamvm: work around min heap size greater than max errorJan Luebbe
On system with large amounts of RAM (such as 96GB), the default initial heap size is larger than the max heap size specified in some build commands. Set min_heap to the max_heap value in those cases instead. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-04-04classpath-initial: fix installation of tools.zip fileOtavio Salvador
This fixes an unpredicability of sysroot tools.zip version as classpath-initial and classpath-native were installing the tools.zip at same path. We also bump PR of affected recipes to force them to rebuild. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2012-01-07jamvm: silence dev-so QA warningsKoen Kooi
* fix was sent in by Xerxes Rånby too Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-01-07jamvm: fix OEMAKE typo and apply for non-native builds as wellKoen Kooi
* fix was sent in by Xerxes Rånby too Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-01-06jamvm-initial: fix typo in EXTRA_OEMAKEHenning Heinold
* thanks Yauhen Kharuzhy for spotting it Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-01-06jamvm-initial: do not overwerite do_compile use EXTRA_OEMAKEHenning Heinold
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2012-01-06jamvm: do not use the glibj.zip from host systemHenning Heinold
* was spotted by Xerxes Rånby Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2011-12-01jamvm git: use proper PVKoen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2011-11-26meta-java: initial commitHenning Heinold
* taken over mostly stuff from oe classic * cleaned up recipes * added license checksums * bump icedtea6-native to 1.8.11 * use jamvm from git as native