guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/16: gnu: extra-cmake-modules: Don't run tests when cross-compiling.


From: guix-commits
Subject: 15/16: gnu: extra-cmake-modules: Don't run tests when cross-compiling.
Date: Fri, 11 Mar 2022 23:43:26 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit fbc46b61daca05f8f8082fc90a62a5708415d651
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:18 2022 +0000

    gnu: extra-cmake-modules: Don't run tests when cross-compiling.
    
    * gnu/packages/kde-frameworks.scm
      (extra-cmake-modules)[arguments]<#:tests?>: Set to #false when
      cross-compiling.
    
    Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 gnu/packages/kde-frameworks.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 65937f8970..aa88d140f5 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -106,7 +106,8 @@
          '()
          `(("qtbase" ,qtbase-5))))                ;for tests (needs qmake)
     (arguments
-     `(#:tests? ,(not (null? (package-native-inputs this-package)))
+     `(#:tests? ,(and (not (%current-target-system))
+                      (not (null? (package-native-inputs this-package))))
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-lib-path



reply via email to

[Prev in Thread] Current Thread [Next in Thread]