[yocto] [meta-cgl][PATCH]heartbeat: Added dependences to fix build error.

2019-02-21 Thread Lei Maohui
Signed-off-by: Lei Maohui --- meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb b/meta-cgl-common/recipes-cgl/heartbeat/heartbeat_3.0.6.bb index cc2643c..35fee43

Re: [yocto] Re: wic utility

2019-02-21 Thread Srinivasan, Raja
Sorry for the delay. Yes. Simple things worked fine. I wanted to copy a dir to a partition inside the sdcard image and that was not successful. I ended up writing a utility to perform the function I needed. It is somewhat customized to our image but if anyone needs, I will be happy to

Re: [yocto] [yocto-docs][PATCH] ref-manual: Fix typo

2019-02-21 Thread Scott Rifenbark
Thanks Daniel, Fixed and published to tips in Sumo, Thud, and Warrior. See https://yoctoproject.org/docs/2.7/ref-manual/ref-manual.html#var-USERADD_PACKAGES for example in 2.7 (under development) YP Reference Manual. Scott On Thu, Feb 21, 2019 at 4:11 AM Daniel Ammann wrote: > Signed-off-by:

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-21 Thread Tim Orling
On Thu, Feb 21, 2019 at 4:27 AM Richard Purdie < richard.pur...@linuxfoundation.org> wrote: > Hi Hongxu, > > On Thu, 2019-02-21 at 06:37 -0500, Hongxu Jia wrote: > > Currently AI on IoT edge becomes more and more popular, but there is > > no > > machine learning framework in Yocto/OE. With the

Re: [yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-21 Thread Richard Purdie
Hi Hongxu, On Thu, 2019-02-21 at 06:37 -0500, Hongxu Jia wrote: > Currently AI on IoT edge becomes more and more popular, but there is > no > machine learning framework in Yocto/OE. With the support of Eric > , Robert > and Randy , after two months effort, > I've > integrated TensorFlow to

[yocto] [yocto-docs][PATCH] ref-manual: Fix typo

2019-02-21 Thread Daniel Ammann
Signed-off-by: Daniel Ammann --- documentation/ref-manual/ref-variables.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d9d0915a8..9a47bcd33 100644 ---

[yocto] [meta-tensorflow][PATCH 13/13] add README

2019-02-21 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- README | 170 + 1 file changed, 170 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 000..3da4e76 --- /dev/null +++ b/README @@ -0,0 +1,170 @@

[yocto] [meta-tensorflow][PATCH 11/13] tensorflow: support musl

2019-02-21 Thread Hongxu Jia
Build fails looking for `execinfo.h` when building against musl |In file included from ./tensorflow/core/platform/stacktrace.h:26, | from tensorflow/core/platform/stacktrace_handler.cc:34: |./tensorflow/core/platform/default/stacktrace.h:27:10: fatal error: execinfo.h: No such file

[yocto] [meta-tensorflow][PATCH 10/13] tensorflow: fix gcc internal compile error on qemuarm64

2019-02-21 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- ...x-gcc-internal-compile-error-on-qemuarm64.patch | 64 ++ recipes-framework/tensorflow/tensorflow_1.13.0.bb | 1 + 2 files changed, 65 insertions(+) create mode 100644

[yocto] [meta-tensorflow][PATCH 09/13] tensorflow: add version 1.13.0

2019-02-21 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- ...octo-toolchain-to-support-cross-compiling.patch | 108 +++ recipes-framework/tensorflow/tensorflow_1.13.0.bb | 154 + 2 files changed, 262 insertions(+) create mode 100644

[yocto] [meta-tensorflow][PATCH 05/13] tensorflow-native: add Python 3.7 compatibility

2019-02-21 Thread Hongxu Jia
SyntaxError around async keyword on Python 3.7 Signed-off-by: Hongxu Jia --- ...xError-around-async-keyword-on-Python-3.7.patch | 116 + .../tensorflow/tensorflow-native_1.13.0.bb | 1 + 2 files changed, 117 insertions(+) create mode 100644

[yocto] [meta-tensorflow][PATCH 12/13] build tensorflow-native and tensorflow in order

2019-02-21 Thread Hongxu Jia
Add tensorflow-native to tensorflow's DEPENDS, actually tensorflow does not require tensorflow-native, but to avoid do_compile at the same time. Bazel build system does not support parallel build very well (very slowly). Signed-off-by: Hongxu Jia ---

[yocto] [meta-tensorflow][PATCH 08/13] tensorboard: add version 1.12.2

2019-02-21 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- .../tensorboard/0001-customize-for-Yocto.patch | 128 + recipes-framework/tensorflow/tensorboard_1.12.2.bb | 62 ++ 2 files changed, 190 insertions(+) create mode 100644

[yocto] [meta-tensorflow][PATCH 06/13] tensorflow-estimator: add version 1.13

2019-02-21 Thread Hongxu Jia
The build steps refers README of https://github.com/tensorflow/estimator Signed-off-by: Hongxu Jia --- .../tensorflow/tensorflow-estimator_1.13.bb| 50 ++ 1 file changed, 50 insertions(+) create mode 100644 recipes-framework/tensorflow/tensorflow-estimator_1.13.bb

[yocto] [meta-tensorflow][PATCH 01/13] initial

2019-02-21 Thread Hongxu Jia
Signed-off-by: Hongxu Jia --- conf/layer.conf | 23 +++ 1 file changed, 23 insertions(+) create mode 100644 conf/layer.conf diff --git a/conf/layer.conf b/conf/layer.conf new file mode 100644 index 000..352c2bc --- /dev/null +++ b/conf/layer.conf @@ -0,0 +1,23 @@ +# We

[yocto] [meta-tensorflow][PATCH 02/13] bazel-native: add version 0.21.0

2019-02-21 Thread Hongxu Jia
It is the build system of tensorflow. The build steps refers: https://docs.bazel.build/versions/master/install-compile-source.html Signed-off-by: Hongxu Jia --- recipes-devtools/bazel/bazel-native_0.21.0.bb | 33 +++ 1 file changed, 33 insertions(+) create mode 100644

[yocto] [meta-tensorflow][PATCH 04/13] tensorflow-native: add version 1.13.0

2019-02-21 Thread Hongxu Jia
It is required by tensorflow-estimator. Signed-off-by: Hongxu Jia --- .../tensorflow/tensorflow-native_1.13.0.bb | 60 ++ 1 file changed, 60 insertions(+) create mode 100644 recipes-framework/tensorflow/tensorflow-native_1.13.0.bb diff --git

[yocto] [meta-tensorflow][PATCH 07/13] Customize Yocto toolchain for cross compiling

2019-02-21 Thread Hongxu Jia
The idea comes from upstream arm compiler which `Build from source for the Raspberry Pi' $ ls /third_party/toolchains/cpus/arm/ arm_compiler_configure.bzl BUILD CROSSTOOL.tpl https://www.tensorflow.org/install/source_rpi Signed-off-by: Hongxu Jia --- recipes-framework/tensorflow/files/BUILD

[yocto] [meta-tensorflow][PATCH 03/13] create classes/bazel.bbclass

2019-02-21 Thread Hongxu Jia
Inherit the bbclass to use bazel to build tensorflow-native, tensorflow, tensorboard and tensorflow-estimator. Signed-off-by: Hongxu Jia --- classes/bazel.bbclass | 80 +++ 1 file changed, 80 insertions(+) create mode 100644 classes/bazel.bbclass

[yocto] Review request 0/13: Contribute meta-tensorflow to Yocto

2019-02-21 Thread Hongxu Jia
Hi RP and Yocto folks, Currently AI on IoT edge becomes more and more popular, but there is no machine learning framework in Yocto/OE. With the support of Eric , Robert and Randy , after two months effort, I've integrated TensorFlow to Yocto. Now, I contribute the patches to Yocto for review,

Re: [yocto] [meta-mingw][PATCH] classes/toolchain-scripts-mingw32: Fix bad cmd flag

2019-02-21 Thread Burton, Ross
+1, feel free to push. Ross On Wed, 20 Feb 2019 at 21:35, Joshua Watt wrote: > > The command to properly set the exit code at the end of the toolchain > environment was using the correct flag delimiter '/', but the code to > coerce all the unix-style paths to windows paths was incorrectly >

Re: [yocto] [meta-mingw][PATCH] diffutils: Upgrade to 3.7

2019-02-21 Thread Burton, Ross
Looks good to me, feel free to push. Ross On Wed, 20 Feb 2019 at 21:14, Joshua Watt wrote: > > Upgrade diffutils from 3.6 to 3.7. The upstream made several fixes so > the local patches are no longer necessary, but the gnulib-tests need to > be dropped since they do not compile properly. Since

Re: [yocto] [EXTERNAL] Problems using MIRRORS variables

2019-02-21 Thread Ryan Harkin
Hi Virgil, On Wed, 20 Feb 2019 at 22:02, Smith, Virgil (US) wrote: > Quick _*workaround*_: > >1. Modify/extend your Repo manifest to pull your mirror repos to the >appropriate place under downloads/git2. >2. Override the non-sha1 SRCREVs with an appropriate SHA1. >Either in