This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ca60f03d84 gnu: assimp: Fix aarch64 build.
ca60f03d84 is described below

commit ca60f03d8479cdcf384ed6a18f049b11e138be3c
Author: Remco van 't Veer <re...@remworks.net>
AuthorDate: Sun Sep 28 18:16:54 2025 +0200

    gnu: assimp: Fix aarch64 build.
    
    Some tests fail on aarch64 upstream.  See also:
    https://github.com/assimp/assimp/issues/6246
    
    * gnu/packages/graphics.scm (assimp) [arguments] <#:phases>: Disable
    tests failing on target aarch64.
    
    Change-Id: I193fb97b285bab9b7e092b9ad21b7e301177e1f4
    Signed-off-by: Efraim Flashner <efr...@flashner.co.il>
---
 gnu/packages/graphics.scm | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 74a3b306ca..584949e57b 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -826,7 +826,20 @@ and export to various formats including the format used by 
Magicavoxel.")
                    (substitute* "test/CMakeLists.txt"
                      ;; Leave the test binary where ctest will look for it.
                      (("TARGET_USE_COMMON_OUTPUT_DIRECTORY\\(unit\\)")
-                      "")))))))
+                      ""))
+
+                   ;; Some tests fail on aarch64:
+                   ;; <https://github.com/assimp/assimp/issues/6246>.
+                   (when #$(target-aarch64?)
+                     (substitute* "test/unit/AssimpAPITest_aiMatrix3x3.cpp"
+                       (("aiMatrix3FromToTest")
+                        "DISABLED_aiMatrix3FromToTest"))
+                     (substitute* "test/unit/AssimpAPITest_aiMatrix4x4.cpp"
+                       (("aiMatrix4FromToTest")
+                        "DISABLED_aiMatrix4FromToTest"))
+                     (substitute* "test/unit/AssimpAPITest_aiQuaternion.cpp"
+                       (("aiQuaternionFromNormalizedQuaternionTest")
+                        
"DISABLED_aiQuaternionFromNormalizedQuaternionTest"))))))))
     (build-system cmake-build-system)
     (inputs
      (list zlib))

Reply via email to