[meta-tensorflow,1/2] bazel-native: inherit pythonnative to fix do_compile error

Submitted by Qi.Chen@windriver.com on Feb. 21, 2020, 2:18 a.m. | Patch ID: 170332

Details

Message ID 20200221021806.33303-1-Qi.Chen@windriver.com
State New
Headers show

Commit Message

Qi.Chen@windriver.com Feb. 21, 2020, 2:18 a.m.
The compilation process needs python (python2) to be there, so
fix it by making bazel-native inherit pythonnative.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
---
 recipes-devtools/bazel/bazel-native_0.21.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/recipes-devtools/bazel/bazel-native_0.21.0.bb b/recipes-devtools/bazel/bazel-native_0.21.0.bb
index 3395c2f..03c3e8d 100644
--- a/recipes-devtools/bazel/bazel-native_0.21.0.bb
+++ b/recipes-devtools/bazel/bazel-native_0.21.0.bb
@@ -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"