Skip to content
Snippets Groups Projects
Unverified Commit fca4ec8c authored by Minecrell's avatar Minecrell Committed by Alexey Minnekhanov
Browse files

temp/modemmanager: build with a single thread only (MR 1607)

For some reason, the ModemManager build tends to freeze when built
with QEMU user emulation for arm*. Changing the build to use a single
thread only (-j1) avoids that, although the build is slower of course.

Also limit building to "armhf armv7 aarch64" since the forks are not
needed on any other architectures, to reduce build times a bit. The
other architectures can just use the upstream packages from Alpine.
parent 9c76176c
Branches
No related tags found
No related merge requests found
Pipeline #199149 failed
......@@ -6,7 +6,7 @@ _pkgver=1.14.6
pkgrel=0
pkgdesc="ModemManager library"
url="http://www.freedesktop.org/wiki/Software/ModemManager"
arch="all"
arch="armhf armv7 aarch64"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends_dev="libmm-glib"
makedepends="$depends_dev gobject-introspection-dev gtk-doc vala
......@@ -28,6 +28,10 @@ source="https://www.freedesktop.org/software/ModemManager/ModemManager-$_pkgver.
rpmsg-udev.rules"
builddir="$srcdir"/ModemManager-$_pkgver
# Workaround build freeze with QEMU user emulation
export JOBS=1
export MAKEFLAGS=-j$JOBS
build() {
# Note: --enable-gtk-doc is disabled to speed up build time
./configure \
......
  • Administrator @root

    mentioned in commit f6b2eb79

    By Minecrell on 2021-01-24T14:53:36

    · Imported

    mentioned in commit f6b2eb79

    By Minecrell on 2021-01-24T14:53:36

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 2814c364

    By Minecrell on 2021-01-24T15:28:41

    · Imported

    mentioned in commit 2814c364

    By Minecrell on 2021-01-24T15:28:41

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 794fbc1c

    By Minecrell on 2021-01-24T15:52:13

    · Imported

    mentioned in commit 794fbc1c

    By Minecrell on 2021-01-24T15:52:13

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit 40918280

    By Minecrell on 2021-01-24T16:37:12

    · Imported

    mentioned in commit 40918280

    By Minecrell on 2021-01-24T16:37:12

    Edited by Ghost User
    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment