Retry build only on arm32

This commit is contained in:
Xiaonan Shen
2022-05-29 17:29:45 +08:00
parent 201bf1ed17
commit 5794e489e0
5 changed files with 9 additions and 11 deletions

View File

@@ -12,9 +12,7 @@ rm -rf internal/frontend/cli
cp -r /build/http_rest_frontend/cli internal/frontend/
# Build
if ! make build-nogui ; then
dpkg --print-architecture
if (! make build-nogui) && [[ $(getconf LONG_BIT) == "32" ]]; then
# If build fails it's probably because it is a 32bit
# system and there was a overflow error on the parser
# This is a workaround for this problem found at: