From b4afc6de5cb49de1d26edbea9e323dfbb6e62903 Mon Sep 17 00:00:00 2001 From: Peter Petrik Date: Thu, 30 Apr 2020 17:31:08 +0200 Subject: [PATCH] build only one arch (#636) --- scripts/docker-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/docker-build.sh b/scripts/docker-build.sh index 43a596403..f66e1e4d0 100755 --- a/scripts/docker-build.sh +++ b/scripts/docker-build.sh @@ -32,6 +32,9 @@ echo "INSTALL_DIR: ${INSTALL_DIR}" echo "BUILD_DIR: ${BUILD_DIR}" echo "ARCH: ${ARCH}" +# see https://bugreports.qt.io/browse/QTBUG-80756 +export ANDROID_TARGET_ARCH=${ARCH} + mkdir -p ${BUILD_DIR}/.gradle # androiddeployqt needs gradle and downloads it to /root/.gradle. By linking it to the build folder, this will be cached between builds. ln -s ${BUILD_DIR}/.gradle /root/.gradle