bazel-native: inherit pythonnative to fix do_compile error
PATCH 1/2 bazel-native: inherit pythonnative to fix do_compile error
The compilation process needs python (python2) to be there, so fix it by making bazel-native inherit pythonnative.
Signed-off-by Chen Qi <[email protected]>
--- recipes-devtools/bazel/bazel-native_0.21.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/bazel/bazel-native_0.21.0.bb +1 -1
@@ -9,7 +9,7 @@ SRC_URI = "https://github.com/bazelbuild/bazel/releases/download/${PV}/bazel-${P file://0001-HttpDownloader-save-download-tarball-to-distdir.patch \ " -inherit native +inherit native pythonnative INHIBIT_SYSROOT_STRIP = "1"
Signature · 1 line
2.17.1
PATCH 2/2 layer.conf: depend on meta-python2
bazel-native needs python2-native, so depend on meta-python2. Also update the README file.
Signed-off-by Chen Qi <[email protected]>
--- README.md | 4 ++++ conf/layer.conf | 1 + 2 files changed, 5 insertions(+)
README.md +4 -0
@@ -33,6 +33,10 @@ URI: git://github.com/openembedded/meta-openembedded.git layers: meta-python, meta-oe branch: master revision: HEAD + +URI: git://git.openembedded.org/meta-python2 +branch: master +revision: HEAD ``` ### 2. Based on Wind River Linux Wind River Linux (CI/CD branch)
conf/layer.conf +1 -0
@@ -17,6 +17,7 @@ LAYERDEPENDS_meta-tensorflow = " \ core \ meta-python \ openembedded-layer \ + meta-python2 \ " LAYER_PATH_meta-tensorflow = "${LAYERDIR}"
Signature · 1 line
2.17.1