2017-10-19 12:46:37 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -xe
|
|
|
|
|
2019-06-14 16:27:32 +03:00
|
|
|
source $(dirname "$0")/tc-tests-utils.sh
|
2017-10-19 12:46:37 +03:00
|
|
|
|
2020-06-25 15:44:31 +03:00
|
|
|
source $(dirname "$0")/tf_tc-vars.sh
|
2017-10-19 12:46: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
|
2017-10-19 12:46:37 +03:00
|
|
|
"
|
|
|
|
|
2017-12-20 21:14:56 +03:00
|
|
|
BAZEL_BUILD_FLAGS="${BAZEL_ARM_FLAGS} ${BAZEL_EXTRA_FLAGS}"
|
2017-10-19 12:46:37 +03:00
|
|
|
BAZEL_ENV_FLAGS="TF_NEED_CUDA=0"
|
|
|
|
SYSTEM_TARGET=rpi3
|
2019-08-20 11:43:20 +03:00
|
|
|
SYSTEM_RASPBIAN=/tmp/multistrap-raspbian-buster
|
2017-10-19 12:46:37 +03:00
|
|
|
|
2018-03-20 17:31:33 +03:00
|
|
|
maybe_install_xldd
|
|
|
|
|
2017-10-19 12:46:37 +03:00
|
|
|
do_bazel_build
|
|
|
|
|
|
|
|
do_deepspeech_binary_build
|
2017-10-30 14:40:22 +03:00
|
|
|
|
2020-02-24 14:02:30 +03:00
|
|
|
export SUPPORTED_PYTHON_VERSIONS="3.7.6:ucs2"
|
2017-10-30 14:40:22 +03:00
|
|
|
do_deepspeech_python_build
|
|
|
|
|
|
|
|
do_deepspeech_nodejs_build
|