path: root/README
diff options
authorHongxu Jia <hongxu.jia@windriver.com>2019-04-25 15:52:01 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2019-04-25 17:10:55 +0800
commit313805d225515259f88e37d6f47d115bc78481d1 (patch)
tree0c14d8be542c25b633c0d6668409b8625f283015 /README
parent10d34f24e99031e4691bf1527ef0e9bd38174b13 (diff)
use pre-build openjdk-8-native 212b04 to replace meta-java
The openjdk-8-native 212b04 is a pre-build binary from ojdkbuild which is a community build using source code from OpenJDK project. [https://github.com/ojdkbuild/ojdkbuild] The reason to use it rather than build from source by meta-java: - The meta-java introduce extra 38 depend recipes to openjdk-8-native, without meta-java could save build time 20%, and will not be broke by meta-java build failure - Only use openjdk-8-native to build bazel-native, and then use bazel-native to build others, any target recipes/packages does not require openjdk-8-native directly The pre-build binary only supports on x86-64, for other hosts, we could add use the one provided by meta-java. What you do is just add layer meta-java to your build. The idea refers meta-renesas-ai: https://github.com/renesas-rz/meta-renesas-ai/blob/master/meta-tensorflow/recipes-devtools/openjdk/openjdk-8-native_151-1.b12.bb Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'README')
1 files changed, 3 insertions, 6 deletions
diff --git a/README b/README
index ed04cc9..44008b0 100644
--- a/README
+++ b/README
@@ -29,10 +29,6 @@ layers: meta-python, meta-oe
branch: master
revision: HEAD
-URI: git://git.yoctoproject.org/meta-java
-branch: master
-revision: HEAD
Source code
@@ -67,6 +63,9 @@ Limitation
(BoringSSL is a fork of OpenSSL used to implement cryptography and TLS across
most of Google's products)
+- If host is not x86_64, please add meta-java to BBLAYERS in conf/bblayers.conf
+ (git://git.yoctoproject.org/meta-java)
Future plan
- Support offline build which bazel build system fetches archive tarballs
@@ -82,7 +81,6 @@ Build and run
$ mkdir <ts-project>
$ cd <ts-project>
$ git clone git://git.yoctoproject.org/meta-tensorflow
-$ git clone git://git.yoctoproject.org/meta-java
$ git clone git://git.openembedded.org/meta-openembedded
$ git clone git://git.openembedded.org/openembedded-core oe-core
$ cd oe-core
@@ -101,7 +99,6 @@ BBLAYERS ?= " \
<ts-project>/oe-core/meta \
<ts-project>/meta-openembedded/meta-python \
<ts-project>/meta-openembedded/meta-oe \
- <ts-project>/meta-java \
<ts-project>/meta-tensorflow \