<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-java.git/recipes-core/ecj, branch styhead</title>
<subtitle>[no description]</subtitle>
<id>https://git.enea.com/cgit/linux/meta-java.git/atom?h=styhead</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-java.git/atom?h=styhead'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/'/>
<updated>2025-01-20T01:06:50+00:00</updated>
<entry>
<title>Drop the use of SRC_URI[md5sum] where SRC_URI[sha256sum] is already in use.</title>
<updated>2025-01-20T01:06:50+00:00</updated>
<author>
<name>Jason Schonberg</name>
<email>schonm@gmail.com</email>
</author>
<published>2025-01-19T13:03:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=e6ee36df0c9bcbba31a8f1d83d63ab73f1d77da3'/>
<id>urn:sha1:e6ee36df0c9bcbba31a8f1d83d63ab73f1d77da3</id>
<content type='text'>
Signed-off-by: Jason Schonberg &lt;schonm@gmail.com&gt;
</content>
</entry>
<entry>
<title>ecj: exclude BB_NUMBER_THREADS from sstate hash</title>
<updated>2021-03-22T13:00:43+00:00</updated>
<author>
<name>Wes Lindauer</name>
<email>wesley.lindauer@gmail.com</email>
</author>
<published>2021-03-04T08:47:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=db9a58bb71fffdb74eb9850978a643a98ff13323'/>
<id>urn:sha1:db9a58bb71fffdb74eb9850978a643a98ff13323</id>
<content type='text'>
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 &lt;wesley.lindauer@gmail.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>classpath-native and friends: inherit native last</title>
<updated>2021-02-21T06:54:42+00:00</updated>
<author>
<name>Douglas Royds</name>
<email>douglas.royds@taitradio.com</email>
</author>
<published>2021-02-05T03:58:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=2cf23656eddbf77ac0ce78f7840f8f40e18199f4'/>
<id>urn:sha1:2cf23656eddbf77ac0ce78f7840f8f40e18199f4</id>
<content type='text'>
Fixes QA Issue: classpath-native: native/nativesdk class is not inherited last

Signed-off-by: Douglas Royds &lt;douglas.royds@taitradio.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>set SUMMARY instead of DESCRIPTION</title>
<updated>2018-06-19T07:55:51+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-04-25T14:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=c99c748d587df0f1e294ecf817f1391b9175797e'/>
<id>urn:sha1:c99c748d587df0f1e294ecf817f1391b9175797e</id>
<content type='text'>
Short descriptions should go into SUMMARY (DESCRIPTION will
get the same value if not set.)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
Tested-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>libecj-bootstrap-native: simplify build</title>
<updated>2018-06-19T07:55:33+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2018-04-25T14:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=428cf8dfb4df230aa1e33b2321356171d7f39950'/>
<id>urn:sha1:428cf8dfb4df230aa1e33b2321356171d7f39950</id>
<content type='text'>
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 &lt;andre.draszik@jci.com&gt;
Tested-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
Signed-off-by: Richard Leitner &lt;richard.leitner@skidata.com&gt;
</content>
</entry>
<entry>
<title>Move from ${COREBASE}/LICENSE to ${COMMON_LICENSE_DIR}/MIT</title>
<updated>2017-09-23T20:48:59+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-09-23T20:48:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=4a33f4c06f6fca3c8e7ff79f352996b3c07014cf'/>
<id>urn:sha1:4a33f4c06f6fca3c8e7ff79f352996b3c07014cf</id>
<content type='text'>
The OE-Core now warns when someone uses ${COREBASE}/LICENSE so we
should move to ${COMMON_LICENSE_DIR}/MIT to fix this deprecated use.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>libecj: fix build issues by adding missing dependencies</title>
<updated>2017-03-03T10:15:53+00:00</updated>
<author>
<name>Adrian Calianu</name>
<email>adrian.calianu@enea.com</email>
</author>
<published>2017-03-02T12:50:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=67e48693501bddb80745b9735b7b3d4d28dce9a1'/>
<id>urn:sha1:67e48693501bddb80745b9735b7b3d4d28dce9a1</id>
<content type='text'>
Signed-off-by: Adrian Calianu &lt;adrian.calianu@enea.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>do_unpackpost: explicitly set working directory</title>
<updated>2016-07-22T14:46:51+00:00</updated>
<author>
<name>Patrick Ohly</name>
<email>patrick.ohly@intel.com</email>
</author>
<published>2016-07-20T09:48:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=4ae7c0c40e1f8fccc98d2f58cf61ef58c5a27da6'/>
<id>urn:sha1:4ae7c0c40e1f8fccc98d2f58cf61ef58c5a27da6</id>
<content type='text'>
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 &lt;patrick.ohly@intel.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>java-bootstrapping: Do not rely on hardcoded paths</title>
<updated>2016-04-29T10:17:07+00:00</updated>
<author>
<name>Erkka Kääriä</name>
<email>erkka.kaaria@intel.com</email>
</author>
<published>2016-04-29T06:48:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=1b975523b8d0467b2e3a44097825c30cdc9e3944'/>
<id>urn:sha1:1b975523b8d0467b2e3a44097825c30cdc9e3944</id>
<content type='text'>
Various paths to files are hardcoded in either helper scripts or the
resulting binaries (like path to Java class libraries). While this works
well when using the files on the build machine, things start breaking
down when the sstate gets shared between multiple workers in CI, as
the paths between workers can differ.

Instead of using these hardcoded paths, form the paths at runtime and pass them as parameters when required.

Signed-off-by: Erkka Kääriä &lt;erkka.kaaria@intel.com&gt;
Signed-off-by: Maxin B. John &lt;maxin.john@intel.com&gt;
</content>
</entry>
<entry>
<title>openjdk-8-native: fix improper do_install and PROVIDES</title>
<updated>2016-01-04T11:21:06+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2015-12-18T02:40:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-java.git/commit/?id=dfb21b449dd652b99bc4725796d143e8c9779cd6'/>
<id>urn:sha1:dfb21b449dd652b99bc4725796d143e8c9779cd6</id>
<content type='text'>
We had:
virtual/jar-native provided by fastjar-native
virtual/java-native provided by cacao-native and jamvm-native
virtual/javac-native provided by ecj-bootstrap-native

Then openjdk-8-native added and also provides:
virtual/java-native and virtual/javac-native
(it also installs ${STAGING_BINDIR_NATIVE}/jar but
doesn't add virtual/jar-native in the PROVIDES)

which introduces circular dependencies,
java-bootstrap-components.bbclass is to avoid the
circular dependencies but it's not a correct way
since it make two conflicted packages build into
the same sysroot:

DEPENDS_prepend_class-native = " ecj-bootstrap-native "
DEPENDS_prepend_class-target = " virtual/javac-native "

virtual/javac-native is provided by openjdk-8-native,
and it assumed that ecj-bootstrap-native, fastjar-native and
cacao-native/jamvm-native are always built before openjdk-8-native,
then in the do_install of penjdk-8-native, it removes them from
staging dirs first, then install (create symlinks for) these files
in staging dirs directly, which results with empty sstate and
builds from sstate cache or builds not in this assumption
will fail.

The fixes here includes:
- Revert "meta-java: rely on well known bootstrap-path" in
  previous commit to remove the improper
  java-bootstrap-components.bbclass

- Do not let openjdk-8-native provides jar, java and javac,
  just like what we do in icedtea7-native, which can provides
  but not to avoid circular dependencies and conflicts.

- make cacao-native back to provide virtual/java-native,
  and ecj-bootstrap-native back to provide virtual/javac-native

- Add back provider settings in README.

- Remove the update-alternatives in openjdk-8-native,
  it doesn't work for native package.

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
</content>
</entry>
</feed>
