[yocto] [meta-mingw][PATCH] mingw-libgnurx: fix file conflicting of dev package

2023-11-30 Thread hongxu
Move /usr/include/regex.h of mingw-libgnurx-dev to /usr/include/mingw-libgnurx/regex.h 2. Due to autotool is used, drop 0001-Honor-DESTDIR-variable-during-install.patch to modify Makefile.in Signed-off-by: Hongxu Jia --- ...onor-DESTDIR-variable-during-install.patch | 39

Re: [yocto] [meta-tensorflow][PATCH] bazel.bbclass: Fix build with bazel from sstate-cache

2023-07-11 Thread hongxu
On 7/11/23 16:55, Tomasz Dziendzielski wrote: ** *CAUTION: This email comes from a non Wind River email account!* Do not click links or open attachments unless you recognize the sender and know the content is safe. Hi Hongxu, I can see you disabled the uninative back in the bazel-native recipe

Re: [yocto] [meta-tensorflow][PATCH] Update SRC_URI git default protocol

2022-01-23 Thread hongxu
Merged //Hongxu On 1/21/22 16:51, Changqing Li wrote: > From: Changqing Li > > Signed-off-by: Changqing Li > --- > recipes-framework/tensorflow/keras_2.6.0.bb | 2 +- > recipes-framework/tensorflow/tensorflow-estimator_2.6.bb | 2 +- > 2 files change

Re: [yocto] [meta-tensorflow][PATCH 3/3] tensorflow-lite: add recipe

2022-01-23 Thread hongxu
On 1/14/22 18:19, Julien Stephan wrote: [Please note: This e-mail is from an EXTERNAL e-mail address] Hi Hongxu Did you have a chance to take a look at it? Sorry for replying late, thanks for your contribution, merged //Hongxu Best Julien Le ven. 24 déc. 2021 à 19:48, Randy MacLeod

[yocto] [meta-selinux][PATCH] remove obsolete e2fsprogs bbappend

2021-02-07 Thread hongxu
Since oe-core commit [f51835e022 e2fsprogs: upgrade 1.45.6 -> 1.45.7] applied, the backport misc_create_inode.c-label_rootfs.patch is not required The lib-ext2fs-ext2_ext_attr.h-add-xattr-index.patch is not used by the recipe, so also remove it. Signed-off-by: Hongxu Jia --- .../e2fspr

Re: [yocto] Review request 0/25:[meta-tensorflow] upgrade tensorflow 1.13.1 -> 2.4.0.rc4

2020-12-16 Thread hongxu
This series requires to work with two OE patches which I've submitted to OE mailing list //Hongxu On 12/16/20 9:07 PM, hongxu wrote: # Build and Run ## 1. Clone away ``` $ mkdir $ cd $ git clone git://git.yoctoproject.org/meta-tensorflow $ git clone git://git.openembedded.org/meta

[yocto] [meta-tensorflow][PATCH 25/25] update LIMITATION.md

2020-12-16 Thread hongxu
Target arch only supports 32 bit arm and 32 bit x86, 64 bit arm and 64 bit x86. BSP (MACHINE) incluced in above archs should be supported. Signed-off-by: Hongxu Jia --- LIMITATION.md | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/LIMITATION.md b

[yocto] [meta-tensorflow][PATCH 23/25] BUILD.md: update quick start for tensorflow 2

2020-12-16 Thread hongxu
Refers begginers of upstream [1] [2] [1] https://www.tensorflow.org/install/pip [2] https://www.tensorflow.org/tutorials/quickstart/beginner Signed-off-by: Hongxu Jia --- BUILD.md | 97 1 file changed, 55 insertions(+), 42 deletions

[yocto] [meta-tensorflow][PATCH 24/25] tensorflow: split sub packages

2020-12-16 Thread hongxu
Split sub packages (libtensorflow-c libtensorflow-framework label-image label-image-lite python3-tensorflow), then user chould select the required one rather than install them as a whole Signed-off-by: Hongxu Jia --- recipes-framework/tensorflow/tensorflow_2.4.0.bb | 15 ++- 1 file

[yocto] [meta-tensorflow][PATCH 22/25] bazel-native/bazel.bbclass: support bazel build without limitation

2020-12-16 Thread hongxu
Set BAZEL_JOBS and BAZEL_MEM with empty string to make bazel build without limitation Signed-off-by: Hongxu Jia --- classes/bazel.bbclass| 9 - recipes-devtools/bazel/bazel-native_3.7.1.bb | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git

[yocto] [meta-tensorflow][PATCH 21/25] add classes/bazel-base.bbclass and imporve classes/bazel-base.bbclass

2020-12-16 Thread hongxu
- Move common config settings to bazel-base.bbclass - Improve bazel_get_flags to make each flag per line with comments - Use BAZEL_MEM rather than hardcoded for option --local_ram_resources - Explicitly remove dir ${BAZEL_DIR} before do_clean Signed-off-by: Hongxu Jia --- classes/bazel

[yocto] [meta-tensorflow][PATCH 20/25] bazel-native: 3.1.0 -> 3.7.1

2020-12-16 Thread hongxu
Signed-off-by: Hongxu Jia --- ...l-native_3.1.0.bb => bazel-native_3.7.1.bb} | 4 ++-- ...e-sysroot-dir-to-the-default-Bazel-to.patch | 12 ++-- .../bazel/files/0001-python3.patch | 18 +- 3 files changed, 17 insertions(+), 17 deletions(-) rename reci

[yocto] [meta-tensorflow][PATCH 18/25] tensorboard: 1.12.2 -> 2.4

2020-12-16 Thread hongxu
Rebase patch to 2.4 - 0001-customize-for-Yocto.patch Fix projector cannot find module 'd3' Signed-off-by: Hongxu Jia --- .../0001-customize-for-Yocto.patch| 199 +++--- ...-projector-fix-cannot-find-module-d3.patch | 34 +++ ...nsorboard_1.12.2.bb => tensorboard_2.4

[yocto] [meta-tensorflow][PATCH 19/25] tensorflow: clean up CROSSTOOL.tpl

2020-12-16 Thread hongxu
CROSSTOOL files are no longer supported after Bazel v0.26+ Signed-off-by: Hongxu Jia --- .../tensorflow/files/CROSSTOOL.tpl| 230 -- .../tensorflow/tensorflow_2.4.0.bb| 3 - 2 files changed, 233 deletions(-) delete mode 100644 recipes-framework

[yocto] [meta-tensorflow][PATCH 17/25] python3-pyasn1-modules: add version 0.2.8

2020-12-16 Thread hongxu
It is required by tensorboard Signed-off-by: Hongxu Jia --- .../python/python3-pyasn1-modules_0.2.8.bb| 22 +++ 1 file changed, 22 insertions(+) create mode 100644 recipes-devtools/python/python3-pyasn1-modules_0.2.8.bb diff --git a/recipes-devtools/python/python3-pyasn1

[yocto] [meta-tensorflow][PATCH 16/25] python3-pyasn1: add 0.4.8

2020-12-16 Thread hongxu
It is required by tensorboard Signed-off-by: Hongxu Jia --- recipes-devtools/python/python3-pyasn1_0.4.8.bb | 17 + 1 file changed, 17 insertions(+) create mode 100644 recipes-devtools/python/python3-pyasn1_0.4.8.bb diff --git a/recipes-devtools/python/python3-pyasn1_0.4.8.bb

[yocto] [meta-tensorflow][PATCH 14/25] python3-google-auth: 1.6.3 -> 1.24.0

2020-12-16 Thread hongxu
Move it from meta-demo to meta-tensorflow which is required by tensorboard Signed-off-by: Hongxu Jia --- .../python/python-google-auth.inc | 10 -- .../python/python3-google-auth_1.24.0.bb | 0 2 files changed, 8 insertions(+), 2 deletions(-) rename

[yocto] [meta-tensorflow][PATCH 15/25] python3-google-auth-oauthlib: add version 0.4.2

2020-12-16 Thread hongxu
It is required by tensorboard Signed-off-by: Hongxu Jia --- .../python3-google-auth-oauthlib_0.4.2.bb | 20 +++ 1 file changed, 20 insertions(+) create mode 100644 recipes-devtools/python/python3-google-auth-oauthlib_0.4.2.bb diff --git a/recipes-devtools/python/python3

[yocto] [meta-tensorflow][PATCH 11/25] tensorflow: update cross compile support

2020-12-16 Thread hongxu
- CROSSTOOL files are no longer supported after Bazel v0.26+, so converted over to the new toolchain config format - Support 32 bit x86 and 64 bit x86 for Yocto - Support 32 bit arm and 64 bit arm (aarch64) for Yocto Signed-off-by: Hongxu Jia --- classes/bazel.bbclass

[yocto] [meta-tensorflow][PATCH 13/25] classes/bazel.bbclass: clean up bazel files before do_clean

2020-12-16 Thread hongxu
Signed-off-by: Hongxu Jia --- classes/bazel.bbclass | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/classes/bazel.bbclass b/classes/bazel.bbclass index 5a76244..3ace2ba 100644 --- a/classes/bazel.bbclass +++ b/classes/bazel.bbclass @@ -75,7 +75,7

[yocto] [meta-tensorflow][PATCH 12/25] tensorflow: fix Multiple shlib providers for libtensorflow_framework.so

2020-12-16 Thread hongxu
one Signed-off-by: Hongxu Jia --- recipes-framework/tensorflow/tensorflow_2.4.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-framework/tensorflow/tensorflow_2.4.0.bb b/recipes-framework/tensorflow/tensorflow_2.4.0.bb index ba441a7..af66397 100644 --- a/recipes

[yocto] [meta-tensorflow][PATCH 10/25] bazel-native/bazel.bbclass: replace deprecated --local_resources

2020-12-16 Thread hongxu
1. Use --local_ram_resources and --local_cpu_resources to replace deprecated --local_resources 2. Add options to bazel-native build |ERROR: --local_resources is deprecated. Please use --local_ram_resources and/or --local_cpu_resources Signed-off-by: Hongxu Jia --- classes/bazel.bbclass

[yocto] [meta-tensorflow][PATCH 9/25] bazel-native/bazel.bbclass: use default Bazel toolchain to build Yocto native tools

2020-12-16 Thread hongxu
could fix the issue If not set YOCTO_NATIVE_SYSROOT, use NOT_SET_YOCTO_NATIVE_SYSROOT to replace as a warning Set YOCTO_NATIVE_SYSROOT in bazel.bbclass Signed-off-by: Hongxu Jia --- classes/bazel.bbclass | 2 + recipes-devtools/bazel/bazel-native_3.1.0.bb | 1

[yocto] [meta-tensorflow][PATCH 8/25] tensorflow-estimator: 1.13 -> 2.4

2020-12-16 Thread hongxu
Signed-off-by: Hongxu Jia --- .../0001-customize-for-yocto.patch| 28 +++ .../tensorflow/tensorflow-estimator_1.13.bb | 12 ++-- 2 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 recipes-framework/tensorflow/tensorflow-estimator/0001

[yocto] [meta-tensorflow][PATCH 7/25] python3-astunparse: add 1.6.3

2020-12-16 Thread hongxu
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia --- recipes-devtools/python/python3-astunparse_1.6.3.bb | 12 1 file changed, 12 insertions(+) create mode 100644 recipes-devtools/python/python3-astunparse_1.6.3.bb diff --git a/recipes-devtools/python/python3

[yocto] [meta-tensorflow][PATCH 6/25] python3-google-pasta: add 0.2.0

2020-12-16 Thread hongxu
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia --- .../python/python3-google-pasta_0.2.0.bb | 12 1 file changed, 12 insertions(+) create mode 100644 recipes-devtools/python/python3-google-pasta_0.2.0.bb diff --git a/recipes-devtools/python/python3-google

[yocto] [meta-tensorflow][PATCH 5/25] python3-opt-einsum: add 3.3.0

2020-12-16 Thread hongxu
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia --- .../python/python3-opt-einsum_3.3.0.bb | 16 1 file changed, 16 insertions(+) create mode 100644 recipes-devtools/python/python3-opt-einsum_3.3.0.bb diff --git a/recipes-devtools/python/python3-opt

[yocto] [meta-tensorflow][PATCH 3/25] tensorflow: 1.13.0 -> 2.4.0

2020-12-16 Thread hongxu
-3.7.patch - 0001-fix-compilation-error.patch Minor change on LICENSE, copy year Signed-off-by: Hongxu Jia --- ...ensorFlow-on-Python-3.8-logger-issue.patch | 55 ...-to-cope-with-const-ness-change-of-N.patch | 52 .../files/0001-Rename-gettid-functions.patch | 125

[yocto] [meta-tensorflow][PATCH 4/25] add python3-gast 0.3.3

2020-12-16 Thread hongxu
The tensorflow requires the this version, as newer versions are incompatible with the rest of the ecosystem [1] [1] https://github.com/tensorflow/tensorflow/commit/710f3c83b4147eb76e748efcc218325c4978726c Signed-off-by: Hongxu Jia --- recipes-devtools/python/python3-gast_0.3.3.bb | 12

[yocto] [meta-tensorflow][PATCH 2/25] bazel-native: 0.21.0 -> 3.1.0

2020-12-16 Thread hongxu
-compile-source.html#bootstrap-unix-bootstrap Signed-off-by: Hongxu Jia --- ...native_0.21.0.bb => bazel-native_3.1.0.bb} | 7 +- ...der-save-download-tarball-to-distdir.patch | 119 ++ .../files/0001-Rename-gettid-functions.patch | 65 -- .../0001-fix-unzip-comm

[yocto] Review request 0/25:[meta-tensorflow] upgrade tensorflow 1.13.1 -> 2.4.0.rc4

2020-12-16 Thread hongxu
# Build and Run ## 1. Clone away ``` $ mkdir $ cd $ git clone git://git.yoctoproject.org/meta-tensorflow $ git clone git://git.openembedded.org/meta-openembedded $ git clone git://git.openembedded.org/openembedded-core oe-core $ cd oe-core $ git clone git://git.openembedded.org/bitbake ``` ##

[yocto] [meta-tensorflow][PATCH 1/25] openjdk-8-native: 212b04 -> 275b01

2020-12-16 Thread hongxu
Signed-off-by: Hongxu Jia --- ...njdk-8-native_212b04.bb => openjdk-8-native_275b01.bb} | 8 1 file changed, 4 insertions(+), 4 deletions(-) rename recipes-devtools/openjdk/{openjdk-8-native_212b04.bb => openjdk-8-native_275b01.bb} (78%) diff --git a/recipes-devtools/openjdk/o

Re: [yocto] [meta-tensorflow] maintained?

2020-12-14 Thread hongxu
On 12/15/20 5:11 AM, Randy MacLeod wrote: Add Hongxu. On 2020-12-14 3:03 p.m., Philip Balister wrote: On 12/14/20 7:56 AM, Marek Belisko wrote: Hi, I'm l;booking for a tensorflow recipe and forum that meta-tensorflow have support for it (also saw that gatesgarth branch is there) but I cannot

[yocto] [meta-security][PATCH] sssd: Avoid nss function conflicts with glibc nss.h

2020-08-10 Thread hongxu
glibc 2.32 will define these varibles [1] which results in conflicts with these static function names, backport a fix from upstream [1] https://sourceware.org/git/?p=glibc.git;a=commit;h=499a92df8b9fc64a054cf3b7f728f8967fc1da7d Signed-off-by: Hongxu Jia --- ...s-Collision-with-external-nss

[yocto] [meta-openssl102-fips][PATCH] openssh bbappend: refresh local patches to 8.1p1

2019-12-20 Thread hongxu
Since upstream oe-core upgraded openssh to 8.1p1, refresh local patches of fips Signed-off-by: Hongxu Jia --- .../0001-conditional-enable-fips-mode.patch| 26 +++--- .../openssh/openssh/0001-openssh-8.0p1-fips.patch | 100 - .../openssh/openssh-6.6p1-ctr

[yocto] [meta-selinux][PATCH] sysvinit: sync bbappend to 2.96

2019-12-13 Thread hongxu
Since oe-core upgrades sysvinit to 2.96, wildcard its bbappend and drop the backported patch Signed-off-by: Hongxu Jia --- .../sysvinit-fix-is_selinux_enabled.patch | 71 --- 88dsf.bbappend => sysvinit_2.9%.bbappend} | 2 +- ...88dsf_selinux.inc => sysvinit_selin

[yocto] [meta-selinux][PATCH] rename sed_4.2.2.bbappend to sed_4.%.bbappend

2019-12-08 Thread hongxu
Since upstream oe-core [bd40260cba sed: upgrade to 4.7], renme bbappend to match the new version Signed-off-by: Hongxu Jia --- recipes-extended/sed/{sed_4.2.2.bbappend => sed_4.%.bbappend} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename recipes-extended/sed/{sed_4.2.2.bbapp