mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Limit jobs on arm
This commit is contained in:
parent
43d2ebc095
commit
f4b84327e8
1 changed files with 6 additions and 1 deletions
|
@ -6,7 +6,12 @@ if [ "$FLATPAK" ]; then
|
|||
mkdir -p build-flatpak
|
||||
cd build-flatpak
|
||||
|
||||
flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} `date`" app ../io.github.NhekoReborn.Nheko.json &
|
||||
jobsarg=""
|
||||
if [ "$ARCH" = "arm64" ]; then
|
||||
jobsarg="--jobs=2"
|
||||
fi
|
||||
|
||||
flatpak-builder --ccache --repo=repo --subject="Build of Nheko ${VERSION} $jobsarg `date`" app ../io.github.NhekoReborn.Nheko.json &
|
||||
|
||||
# to prevent flatpak builder from timing out on arm, run it in the background and print something every minute for up to 30 minutes.
|
||||
minutes=0
|
||||
|
|
Loading…
Reference in a new issue