Skip to contentSkip to conversation

layer.conf: add langdale and nanbield to LAYERSERIES_COMPAT as well

PATCH New Martin Jansa 1 participant 3 messages Feb 6, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 layer.conf: add langdale and nanbield to LAYERSERIES_COMPAT as well

* useful when bisecting where something got broken between kirkstone and scarthgap LTS releases

---
 conf/layer.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
conf/layer.conf +1 -1
index ccb6343..ad3b677 100644
@@ -11,7 +11,7 @@ BBFILE_PRIORITY_meta-tensorflow = "10"
 
 LAYERVERSION_meta-tensorflow = "1"
 
-LAYERSERIES_COMPAT_meta-tensorflow = "kirkstone mickledore"
+LAYERSERIES_COMPAT_meta-tensorflow = "kirkstone langdale mickledore nanbield"
 
 LAYERDEPENDS_meta-tensorflow = " \
     core \
Signature · 1 line
2.48.1
#1 lore raw

PATCH 2/3 bazel-native: fix build with gcc14

From: Anuj Mittal <[email protected]>

Backport patch to fix errors while building zlib. Fixes:

| external/bazel_tools/third_party/zlib/gzwrite.c: In function 'gz_comp':
| external/bazel_tools/third_party/zlib/gzwrite.c:89:20: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration]
|    89 |             writ = write(state->fd, strm->next_in, put);
|       |                    ^~~~~
|       |                    fwrite
| external/bazel_tools/third_party/zlib/gzwrite.c: In function 'gzclose_w':
| external/bazel_tools/third_party/zlib/gzwrite.c:673:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration]
|   673 |     if (close(state->fd) == -1)
|       |         ^~~~~
|       |         pclose
---
 recipes-devtools/bazel/bazel-native_5.3.2.bb  |  1 +
 ...3ed4ac717b814d02a0d125f160ddabe78003.patch | 57 +++++++++++++++++++
 2 files changed, 58 insertions(+)
 create mode 100644 recipes-devtools/bazel/files/1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch
recipes-devtools/bazel/bazel-native_5.3.2.bb +1 -0
index ce3431b..52b6534 100644
@@ -11,6 +11,7 @@ SRC_URI = "https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${P
            file://0001-add-Yocto-native-sysroot-dir-to-the-default-Bazel-to.patch \
            file://0001-cutsomize-native-toolchains-for-Yocto.patch \
            file://0001-fix-compile-failure-on-gcc-13.patch \
+           file://1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch \
 "
 
 inherit python3native
recipes-devtools/bazel/files/1f2b3ed4ac717b814d02a0d125f160ddabe78003.patch new file +57 -0

57 lines not on this page · raw message

Signature · 1 line
2.48.1
#2 lore raw

PATCH 3/3 MAINTAINERS.md: fix e-mail address

In reply to Martin Jansa

[email protected] doesn't exist and yocto-patches is probably better than [email protected]

---
 MAINTAINERS.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
MAINTAINERS.md +1 -1
index 09a0cef..e049457 100644
@@ -20,7 +20,7 @@ When sending patches please take a look at the contribution guide available
 here: https://wiki.yoctoproject.org/wiki/Contribution_Guidelines
 
 example:
-git send-email -1 -M --to [email protected]  --subject-prefix=meta-tensorflow][PATCH
+git send-email -1 -M --to [email protected]  --subject-prefix=meta-tensorflow][PATCH
 ```
 
 ### 2. Github
Signature · 1 line
2.48.1