aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-11-04tensorflow: 2.4.3 -> 2.4.4hardknottHongxu Jia
Resolve dozens of CVE issues [1] [1] https://github.com/tensorflow/tensorflow/releases Issue: LINUXEXEC-17107 (LOCAL REV: NOT UPSTREAM) -- Will send to upstream yocto later Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-09-14tensorflow: fix TF Lite example segmentation faultHongxu Jia
... root@intel-x86-64:~# label_image.lite INFO: Loaded model /usr/share/label_image/mobilenet_v1_1.0_224_quant.tflite INFO: resolved reporter Segmentation fault ... Revert two commits could fix the issue Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-08-24tensorflow-native/tensorflow: 2.4.0 -> 2.4.3Hongxu Jia
Do dot release upgrade to fix 58 CVEs https://github.com/tensorflow/tensorflow/blob/r2.4/RELEASE.md Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-05-21layer.conf: update LAYERSERIES_COMPAT with hardknottChen Qi
This commit is generated by autorebase automatically. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2021-05-21meta-demo: update LAYERSERIES_COMPAT with hardknottChen Qi
Update LAYERSERIES_COMPAT with hardknott. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2021-02-28meta-demo: explicitly require TS 1.xHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-02-07bazel-native: fix QA Issue: bazel-native: native/nativesdk class is not ↵Hongxu Jia
inherited last Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-01-10tensorflow-for-poets: fixup typoHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-01-10build tensorflow-for-poets conditionallyHongxu Jia
Build tensorflow-for-poets only if tensorflow 1.x is available, otherwise skip it with message: ... ERROR: Nothing PROVIDES 'tensorflow-for-poets' tensorflow-for-poets was skipped: It requires tensorflow 1.x, add 'TF_ARGS_EXTRA = "--config=v1"' to local.conf ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-01-10tensorflow: support to build tensorflow 1.xHongxu Jia
- Drop v2 config from bazel config file, set it from bazel command option - Move TF_ARGS_EXTRA to tensorflow.inc for both of native and target and set v2 config by default - Update steps in meta-demo/README* to build tensorflow 1.x Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-01-07classes/bazel.bbclass: run bazel clean to clean up bazel build files before ↵Hongxu Jia
do_rm_work In do_rm_work, it removed bazel build files failed, run bazel clean before do_rm_work to clean up bazel build files before do_rm_work Issue: LINCD-4017 (LOCAL REV: NOT UPSTREAM) -- Will send to upstream on 20210108 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2021-01-03tensorboard: refactor recipe to 2.4.0Hongxu Jia
Simplfy recipe tensorboard, get python scripts from pip whl packages rather than bazel build from scratch, it saves 30+ min build time and avoids bazel build failures Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-28tensorflow: refresh ↵Hongxu Jia
0001-third_party-eigen_archive-workaround-ice-failure-whi.patch for tensorflow 2.4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-28tensorflow.inc: fix offline build failureHongxu Jia
Drop toolchain git repository rule of bazel in tensorflow build, the git download is useless for tensorflow which broke offline build Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-23classes/bazel.bbclass: fix cpu limitation not working on tensorflow-nativeHongxu Jia
The bazel configure 'build --jobs=XX --local_cpu_resources=XXX' only worked on target build, move it to a common place which works for both of native and target Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-22python3-pyasn1-modules/python3-pyasn1: remove duplicated recipesHongxu Jia
Remove duplicated recipes and use the one in OE to replace Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-22tensorflow/tensorflow-native: install whl with version filterHongxu Jia
Since 2.4.0rc4 -> 2.4.0 and rebuild without clean, there are multiple whl to install, add version filter to match the required whl Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-21tensorflow.inc: upgrade 2.4.0rc4 -> 2.4.0Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-20Update TODOHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15update LIMITATION.mdHongxu Jia
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 <hongxu.jia@windriver.com>
2020-12-15tensorflow: split sub packagesHongxu Jia
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 <hongxu.jia@windriver.com>
2020-12-15BUILD.md: update quick start for tensorflow 2Hongxu Jia
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 <hongxu.jia@windriver.com>
2020-12-15bazel-native/bazel.bbclass: support bazel build without limitationHongxu Jia
Set BAZEL_JOBS and BAZEL_MEM with empty string to make bazel build without limitation Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15add classes/bazel-base.bbclass and imporve classes/bazel-base.bbclassHongxu Jia
- 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 <hongxu.jia@windriver.com>
2020-12-15bazel-native: 3.1.0 -> 3.7.1Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15tensorflow: clean up CROSSTOOL.tplHongxu Jia
CROSSTOOL files are no longer supported after Bazel v0.26+ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15tensorboard: 1.12.2 -> 2.4Hongxu Jia
Rebase patch to 2.4 - 0001-customize-for-Yocto.patch Fix projector cannot find module 'd3' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-pyasn1-modules: add version 0.2.8Hongxu Jia
It is required by tensorboard Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-pyasn1: add 0.4.8Hongxu Jia
It is required by tensorboard Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-google-auth-oauthlib: add version 0.4.2Hongxu Jia
It is required by tensorboard Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-google-auth: 1.6.3 -> 1.24.0Hongxu Jia
Move it from meta-demo to meta-tensorflow which is required by tensorboard Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15classes/bazel.bbclass: clean up bazel files before do_cleanHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15tensorflow: fix Multiple shlib providers for libtensorflow_framework.soHongxu Jia
|ERROR: tensorflow: Multiple shlib providers for libtensorflow_framework.so.2: tensorflow, tensorflow (used by files: tmp-glibc/work/core2-64-wrs-linux/tensorflow/2.4.0-r0/packages-split/ tensorflow/usr/lib64/python3.9/site-packages/tensorflow/python/ _pywrap_tf_session.so) Remove the duplicate one Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15tensorflow: update cross compile supportHongxu Jia
- 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 <hongxu.jia@windriver.com>
2020-12-15bazel-native/bazel.bbclass: replace deprecated --local_resourcesHongxu Jia
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 <hongxu.jia@windriver.com>
2020-12-15bazel-native/bazel.bbclass: use default Bazel toolchain to build Yocto ↵Hongxu Jia
native tools While using the default Bazel C++ toolchain to build Yocto native tools (bazel build --host_crosstool_top=@bazel_tools//tools/cpp:toolchain), it failed with `bazel references a path outside of the execution root', Add Yocto native sysroot dir (YOCTO_NATIVE_SYSROOT) to builtin_include_directories 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 <hongxu.jia@windriver.com>
2020-12-15tensorflow-estimator: 1.13 -> 2.4Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-astunparse: add 1.6.3Hongxu Jia
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-google-pasta: add 0.2.0Hongxu Jia
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15python3-opt-einsum: add 3.3.0Hongxu Jia
It is required by tensorflow 2.4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15add python3-gast 0.3.3Hongxu Jia
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 <hongxu.jia@windriver.com>
2020-12-15tensorflow: 1.13.0 -> 2.4.0Hongxu Jia
Refresh patches to 2.4.0 - 0001-support-musl.patch - 0001-third_party-eigen_archive-workaround-ice-failure-whi.patch - 0001-use-local-bazel-to-workaround-bazel-paralle-issue.patch - 0001-add-yocto-toolchain-to-support-cross-compiling.patch - 0001-fix-build-tensorflow-lite-examples-label_image-label.patch - 0001-label_image.lite-tweak-default-model-location.patch Drop backported patches - 0001-Fix-TensorFlow-on-Python-3.8-logger-issue.patch - 0001-Provide-overload-to-cope-with-const-ness-change-of-N.patch - 0001-Rename-gettid-functions.patch - 0001-SyntaxError-around-async-keyword-on-Python-3.7.patch - 0001-fix-compilation-error.patch Minor change on LICENSE, copy year Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15bazel-native: 0.21.0 -> 3.1.0Hongxu Jia
Rebase patches to 3.1.0: - 0001-HttpDownloader-save-download-tarball-to-distdir.patch - 0001-fix-unzip-command-not-found.patch - 0001-python3.patch Drop backport patch: - 0001-Rename-gettid-functions.patch Tweak options according to [1] [1] https://docs.bazel.build/versions/master/install-compile-source.html#bootstrap-unix-bootstrap Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15openjdk-8-native: 212b04 -> 275b01Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-12-15layer.conf: Add hardknott to compatible release seriesHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-07-07tensorflow: fix GCC 10.1 compile errortensorflow-v1.13Hongxu Jia
Since python3-numpy: update 1.18.5 -> 1.19.0, there is a GCC 10.1 compile error. Backport a patch from upstream to fix it [1] [1] https://github.com/tensorflow/tensorflow/pull/40654 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-05-26layer.conf: Add gatesgarth to compatible release seriesHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-04-21classes/bazel.bbclass: limit the number of CPU cores Bazel usesHongxu Jia
There is gcc Killed failure: ... |tmp-glibc/work/corei7-32-wrsmllib32-linux/lib32-tensorflow/ 1.13.0-r0/git/tensorflow/core/kernels/BUILD:3158:1: C++ compilation of rule '//tensorflow/core/kernels:cwise_op' failed (Killed): gcc failed: error executing command ... From Bazel User Manual --local_resources availableRAM,availableCPU,availableIO This option, which takes three comma-separated floating point arguments, specifies the amount of local resources that Bazel can take into consideration when scheduling build and test activities. Option expects amount of available RAM (in MB), number of CPU cores (with 1.0 representing single full core) and workstation I/O capability (with 1.0 representing average workstation). [1] According to [2][3], explicitly set the amount of local host RAM 4096 MB available to Bazel, the number of local CPU 4 cores available to Bazel, the number of jobs is 4 which should be executed concurrently. Refer: [1] https://stackoverflow.com/questions/34756370/is-there-a-way-to-limit-the-number-of-cpu-cores-bazel-uses [2] https://github.com/tensorflow/tensorflow/issues/7723 [3] https://github.com/tensorflow/tensorflow/issues/24318 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-04-13tensorboard/tensorflow: add runtime depends python3-coreHongxu Jia
The python3-core provides /usr/bin/python3 which required by python3 scripts of tensorboard/tensorflow Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2020-04-13tensorflow: improve shebang replacementHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>