aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/bazel/bazel-native_0.21.0.bb
AgeCommit message (Collapse)Author
2019-08-09bazel-native: explicitly disable uninativeHongxu Jia
Even though bbclass uninative is inherited, still disable it Which cuasing java binary `bazel' not working correctly ... |bazel --batch --bazelrc=/dev/null version |file is invalid or corrupted (missing end of central directory record) |Cannot find central directory |FATAL: Failed to open Bazel as a zip file: (error: 5): Input/output error ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-08-09bazel-native: save download tarball to distdirHongxu Jia
- After download tarball from internet, save them to distdir - Avoid tarball name conflict, rename them with suffix `_<sha256sum>' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-08-09support offline buildHongxu Jia
Set TS_DL_DIR to support fetch tarball from download mirror. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-08-09fix `Failed to extract install_base_key' while running bazelHongxu Jia
1. The problem is the binary is edited after by setting the rpath. Which might mess up with zip data, you might want to run zip -A on Bazel. It stills needs to extract the install key to verify it does not need to extract all the remaining parts. Also Bazel contains other C++ binary and you are going to run in the rpath problem all the time. https://github.com/bazelbuild/bazel/issues/2978 2. Since binary bazel in recipe-sysroot-native is a hardlink, while multiple recipes invoke one bazel at the same time, there is probably a race error ... FATAL: Failed to open Bazel as a zip file: (error: 5): Input/output error ... Copy and run a duplicated bazel could workaround it Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-08-09bazel-native: add version 0.21.0Hongxu Jia
It is the build system of tensorflow. The build steps refers: https://docs.bazel.build/versions/master/install-compile-source.html Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>