[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on ar
From: |
guix-commits |
Subject: |
224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf. |
Date: |
Thu, 2 Sep 2021 17:55:39 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 541e2f9a01e108bffa923a30d9c658c7bd72ae55
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Aug 30 12:15:39 2021 +0200
gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf.
* gnu/packages/kde-frameworks.scm (extra-cmake-modules)[native-inputs]:
Remove QTBASE-5 on armhf-linux.
[arguments]: Set #:tests? accordingly.
---
gnu/packages/kde-frameworks.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7a3b6b2..00d5eb0 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -98,9 +98,15 @@
"10c5xs5shk0dcshpdxg564ay5y8hgmvfvmlhmhjf0dy79kcah3c3"))))
(build-system cmake-build-system)
(native-inputs
- `(("qtbase" ,qtbase-5))) ; For tests (needs qmake)
+ ;; Add test dependency, except on armhf where building it is too
+ ;; expensive.
+ (if (and (not (%current-target-system))
+ (string=? (%current-system) "armhf-linux"))
+ '()
+ `(("qtbase" ,qtbase-5)))) ;for tests (needs qmake)
(arguments
- `(#:phases
+ `(#:tests? ,(not (null? (package-native-inputs this-package)))
+ #:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-lib-path
(lambda _
- 209/377: gnu: Add python-pytest-xdist-next., (continued)
- 209/377: gnu: Add python-pytest-xdist-next., guix-commits, 2021/09/02
- 207/377: gnu: python-pytest-mock: Update to 3.6.1 and run test suite., guix-commits, 2021/09/02
- 214/377: services: base: Honor file-system-create-mount-point? at all times., guix-commits, 2021/09/02
- 235/377: gnu: Add python-pybbi., guix-commits, 2021/09/02
- 228/377: build: Build (gnu packages rocm)., guix-commits, 2021/09/02
- 220/377: gnu: mu: Update to 1.6.5., guix-commits, 2021/09/02
- 217/377: gnu: rofi: Update to 1.7.0., guix-commits, 2021/09/02
- 226/377: bootloader: Report location of the deprecated 'target' field., guix-commits, 2021/09/02
- 222/377: gnu: guile-websocket: Update to 0.1-d17878f6., guix-commits, 2021/09/02
- 213/377: gnu: python-pytest-django: Update to 4.4.0., guix-commits, 2021/09/02
- 224/377: gnu: extra-cmake-modules: Avoid dependency on qtbase when on armhf.,
guix-commits <=
- 225/377: build: Build (gnu system setuid)., guix-commits, 2021/09/02
- 236/377: gnu: Add python-svgutils., guix-commits, 2021/09/02
- 245/377: gnu: python-scikit-learn: Update to 0.24.2., guix-commits, 2021/09/02
- 244/377: gnu: python-anndata: Fetch sources from git., guix-commits, 2021/09/02
- 243/377: gnu: python-scanpy: Update to 1.8.1., guix-commits, 2021/09/02
- 264/377: gnu: glibmm: Enable documentation., guix-commits, 2021/09/02
- 269/377: gnu: gtk-doc: Update to 1.32., guix-commits, 2021/09/02
- 247/377: gnu: Add python-coolbox., guix-commits, 2021/09/02
- 263/377: gnu: glibmm: Update to 2.68.0., guix-commits, 2021/09/02
- 279/377: gnu: cairomm: Enable documentation., guix-commits, 2021/09/02