From 6bda806416b8e6032ef1047c5feed776b6cc0493 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 20 Jul 2023 17:46:27 +0300 Subject: gnu: swig: Skip tests when cross-compiling. * gnu/packages/swig.scm (swig)[arguments]: Adjust #:tests? to skip tests when cross-compiling. --- gnu/packages/swig.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu/packages/swig.scm') diff --git a/gnu/packages/swig.scm b/gnu/packages/swig.scm index 42996fa812..3f38cd9f9f 100644 --- a/gnu/packages/swig.scm +++ b/gnu/packages/swig.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2013, 2015, 2016 Ludovic Courtès ;;; Copyright © 2015 Mark H Weaver ;;; Copyright © 2018, 2021 Marius Bakke -;;; Copyright © 2019 Efraim Flashner +;;; Copyright © 2019, 2023 Efraim Flashner ;;; Copyright © 2020 Arun Isaac ;;; Copyright © 2023 Janneke Nieuwenhuizen ;;; @@ -56,7 +56,8 @@ (define-public swig perl)) ;;("python" ,python-wrapper) (inputs (list pcre)) - (arguments (list #:tests? (not (target-hurd?)))) + (arguments (list #:tests? (not (or (target-hurd?) + (%current-target-system))))) (home-page "https://swig.org/") (synopsis "Interface compiler that connects C/C++ code to higher-level languages") -- cgit v1.2.3