Successful create-venv on armhf

This commit is contained in:
Michael Hansen
2019-05-23 02:42:02 +01:00
parent 3e78e0db98
commit 98bbc01463
2 changed files with 21 additions and 0 deletions
+11
View File
@@ -119,6 +119,17 @@ source "${VENV_PATH}/bin/activate"
echo "Installing Python requirements"
"${PYTHON}" -m pip install wheel
"${PYTHON}" -m pip install requests
openfst_url='https://github.com/synesthesiam/jsgf2fst/releases/download/v0.1.0/openfst-1.6.1.tar.gz'
INCLUDE_DIR="${VENV_PATH}/include" LIBRARY_DIR="${VENV_PATH}/lib" \
"${PYTHON}" -m pip install "${openfst_url}"
# pytorch is not available on ARM
case "${CPU_ARCH}" in
armv7l|arm64v8)
no_flair="yes" ;;
esac
requirements_file="${DIR}/requirements.txt"
if [[ ! -z "${no_flair}" ]]; then
+10
View File
@@ -104,6 +104,16 @@ do
fi
done
# -----------------------------------------------------------------------------
# Web Interface
# -----------------------------------------------------------------------------
rhasspy_web_file="${download_dir}/rhasspy-web-dist.tar.gz"
rhasspy_web_url="https://github.com/synesthesiam/rhasspy/releases/download/v2.0/rhasspy-web-dist.tar.gz"
echo "Downloading web interface (${rhasspy_web_url})"
curl -sSfL -o "${rhasspy_web_file}" "${rhasspy_web_url}"
# -----------------------------------------------------------------------------
echo "Done"