DeepSpeech/taskcluster/arm64-build.sh

29 строки
529 B
Bash
Исходник Постоянная ссылка Обычный вид История

2018-04-17 13:10:37 +03:00
#!/bin/bash
set -xe
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="
//native_client:libdeepspeech.so
//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