aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-04-27 22:53:47 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2019-05-01 22:53:26 +0800
commit9204d834036ad8911d0aa873305110c824325801 (patch)
tree695535b0fa892150025ad908e03d0b83293110e3
parenteb588b9f12739769c771c6b8d3062334efbdbf1b (diff)
downloadmeta-tensorflow-9204d834036ad8911d0aa873305110c824325801.tar.gz
meta-tensorflow-9204d834036ad8911d0aa873305110c824325801.tar.bz2
meta-tensorflow-9204d834036ad8911d0aa873305110c824325801.zip
lib32-tensorflow-estimator: fix module _sysconfigdata not found
While enabling multilib, call setup.py failed ... |tmp-glibc/work/core2-32-oemllib32-linux/lib32-tensorflow-estimator/1.13-r0/ recipe-sysroot-native/usr/lib/python3.7/sysconfig.py", line 425, in _init_posix | _temp = __import__(name, globals(), locals(), ['build_time_vars'], 0) |ModuleNotFoundError: No module named '_sysconfigdata' ... Add python3 to target DEPENDS could fix the issue Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
-rw-r--r--classes/bazel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/classes/bazel.bbclass b/classes/bazel.bbclass
index 0d2bbdb..6316f7e 100644
--- a/classes/bazel.bbclass
+++ b/classes/bazel.bbclass
@@ -1,6 +1,7 @@
DEPENDS += "bazel-native \
openjdk-8-native \
"
+DEPENDS_append_class-target = " python3"
BAZEL_OUTPUTBASE_DIR ?= "${WORKDIR}/bazel/output_base"
export BAZEL_ARGS="--output_user_root=${WORKDIR}/bazel/user_root \