aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/ecj/libecj-bootstrap.inc
AgeCommit message (Collapse)Author
2021-03-22ecj: exclude BB_NUMBER_THREADS from sstate hashWes Lindauer
The sstate-cache for libecj-bootstrap is not shareable across multiple machines because the parallelisation configuration of Bitbake is being embedded into the sstate hash of libecj-bootstrap. Exclude BB_NUMBER_THREADS from the do_compile sstate hashing to avoid this issue. Commit message adapted from a5257d41f32812bc9426183cc8d2b6f07617b0d5. Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2021-02-21classpath-native and friends: inherit native lastDouglas Royds
Fixes QA Issue: classpath-native: native/nativesdk class is not inherited last Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-19set SUMMARY instead of DESCRIPTIONAndré Draszik
Short descriptions should go into SUMMARY (DESCRIPTION will get the same value if not set.) Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2018-06-19libecj-bootstrap-native: simplify buildAndré Draszik
Piping 'find' output into multiple files to re-read them seems inelegant and is error prone - just use a pipe with appropriate options instead. This avoids potential problems with funny file names, and now also makes use of BB_NUMBER_THREADS to speed up compilation. This is a better example to copy from now... Signed-off-by: André Draszik <andre.draszik@jci.com> Tested-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
2017-03-03libecj: fix build issues by adding missing dependencieskrogothAdrian Calianu
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
2016-07-22do_unpackpost: explicitly set working directoryPatrick Ohly
bitbake rev 67a7b8b02 "build: don't use $B as the default cwd for functions" (included in current bitbake master) breaks the assumption that do_unpackpost runs inside the build directory. Now that has to be set explicitly, which is also okay for older bitbake versions. Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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-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-10-14ecj: fix unpackpost taskdoraCristian Iorga
ecj recipe is built as initial and as native, as such, unpackpost is run multiple times over the same code source. Added check if a move operation hasn't been already executed. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
2012-11-27libecj-bootstrap,junit: Tweak to fix rebuild issuesKhem Raj
When rebuilding in already built tree we have these issues where a file is already deleted first time but rm fails on reexecution. This patch adds checks for such cases so that rebuilds are guarnteed Signed-off-by: Khem Raj <raj.khem@gmail.com>
2012-01-11libecj-bootstrap: use sort for builder order and introduce INC_PRHenning Heinold
* on some filesystems find orders the files to build not the right way, using sort seems to fix it, thanks Stefan Ring for the patch * use INC_PR for better revision handling Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
2011-12-21libecj-bootstrap: correct license to EPL-1.0Xerxes Rånby
Signed-off-by: Xerxes Rånby <xerxes@zafena.se>
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