aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-04-22 21:16:15 +0800
committerHongxu Jia <hongxu.jia@windriver.com>2019-08-09 15:33:05 +0800
commit8906c1af6dac62a3506730a519fdc117a6954b0c (patch)
tree773412b8be5af9f6a71bfa2a5f652c38523b77e3 /recipes-devtools
parent1c553f1e3d585053aa986c23bc53fcc109932654 (diff)
downloadmeta-tensorflow-8906c1af6dac62a3506730a519fdc117a6954b0c.tar.gz
meta-tensorflow-8906c1af6dac62a3506730a519fdc117a6954b0c.tar.bz2
meta-tensorflow-8906c1af6dac62a3506730a519fdc117a6954b0c.zip
support offline build
Set TS_DL_DIR to support fetch tarball from download mirror. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r--recipes-devtools/bazel/bazel-native_0.21.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-devtools/bazel/bazel-native_0.21.0.bb b/recipes-devtools/bazel/bazel-native_0.21.0.bb
index debc30c..b8d17a8 100644
--- a/recipes-devtools/bazel/bazel-native_0.21.0.bb
+++ b/recipes-devtools/bazel/bazel-native_0.21.0.bb
@@ -18,11 +18,12 @@ DEPENDS = "coreutils-native \
S="${WORKDIR}"
+TS_DL_DIR ??= "${DL_DIR}"
do_compile () {
export JAVA_HOME="${RECIPE_SYSROOT_NATIVE}/usr/lib/jvm/openjdk-8-native"
TMPDIR="${TOPDIR}/bazel" \
VERBOSE=yes \
- EXTRA_BAZEL_ARGS="--distdir=${DL_DIR}" \
+ EXTRA_BAZEL_ARGS="--distdir=${TS_DL_DIR}" \
./compile.sh
}