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
|
|
|
|
2020-06-25 15:44:31 +03:00
|
|
|
source $(dirname "$0")/tf_tc-vars.sh
|
2018-04-17 13:10:37 +03:00
|
|
|
|
|
|
|
BAZEL_TARGETS="
|
2020-08-25 16:37:58 +03:00
|
|
|
//native_client:libdeepspeech.so
|
2020-06-28 17:52:08 +03:00
|
|
|
//native_client:generate_scorer_package
|
2018-04-17 13:10:37 +03:00
|
|
|
"
|
|
|
|
|
|
|
|
BAZEL_BUILD_FLAGS="${BAZEL_ARM64_FLAGS} ${BAZEL_EXTRA_FLAGS}"
|
|
|
|
BAZEL_ENV_FLAGS="TF_NEED_CUDA=0"
|
|
|
|
SYSTEM_TARGET=rpi3-armv8
|
2019-08-21 10:36:45 +03:00
|
|
|
SYSTEM_RASPBIAN=/tmp/multistrap-armbian64-buster
|
2018-04-17 13:10:37 +03:00
|
|
|
|
|
|
|
maybe_install_xldd
|
|
|
|
|
|
|
|
do_bazel_build
|
|
|
|
|
|
|
|
do_deepspeech_binary_build
|
|
|
|
|
2020-02-24 14:02:30 +03:00
|
|
|
export SUPPORTED_PYTHON_VERSIONS="3.7.6:ucs2"
|
2018-04-17 13:10:37 +03:00
|
|
|
do_deepspeech_python_build
|
|
|
|
|
|
|
|
do_deepspeech_nodejs_build
|