gnu: vulkan-loader: Don't run the tests when cross-compiling.

* gnu/packages/vulkan.scm (vulkan-loader)[arguments]: Adjust the tests
flag to run the tests when not cross-compiling.

Change-Id: I1a31132ae38874adde598bc19e0ffe18896dd589
This commit is contained in:
Efraim Flashner 2025-01-26 19:58:55 +02:00
parent dc7f2cd9d8
commit ee920138d5
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017, 2018, 2019 Rutger Helling <rhelling@mykolab.com>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2023-2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2020, 2023 Marius Bakke <marius@gnu.org>
;;; Copyright © 2021 Mathieu Othacehe <othacehe@gnu.org>
;;; Copyright © 2022 Kaelyn Takata <kaelyn.alexi@protonmail.com>
@ -363,7 +363,7 @@ (define-public vulkan-loader
(list
;; As many as 23 tests are expected to fail per architecture.
;; Limit the tests to those architectures tested upstream.
#:tests? (and (%current-system)
#:tests? (and (not (%current-target-system))
(target-x86?))
#:configure-flags
#~(list (string-append "-DVULKAN_HEADERS_INSTALL_DIR="