2018-04-17 13:10:37 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2019-06-14 16:27:32 +03:00
|
|
|
source $(dirname "$0")/tc-tests-utils.sh
|
2018-04-17 13:10:37 +03:00
|
|
|
|
|
|
|
source ${DS_ROOT_TASK}/DeepSpeech/tf/tc-vars.sh
|
|
|
|
|
|
|
|
BAZEL_TARGETS="
|
|
|
|
//native_client:libdeepspeech.so
|
|
|
|
//native_client:generate_trie
|
|
|
|
"
|
|
|
|
|
|
|
|
BAZEL_BUILD_FLAGS="${BAZEL_ARM64_FLAGS} ${BAZEL_EXTRA_FLAGS}"
|
|
|
|
BAZEL_ENV_FLAGS="TF_NEED_CUDA=0"
|
|
|
|
SYSTEM_TARGET=rpi3-armv8
|
|
|
|
SYSTEM_RASPBIAN=/tmp/multistrap-armbian64-stretch
|
|
|
|
|
|
|
|
maybe_install_xldd
|
|
|
|
|
|
|
|
do_bazel_build
|
|
|
|
|
|
|
|
do_deepspeech_binary_build
|
|
|
|
|
|
|
|
export SUPPORTED_PYTHON_VERSIONS="3.5.3:ucs4"
|
|
|
|
do_deepspeech_python_build
|
|
|
|
|
|
|
|
do_deepspeech_nodejs_build
|