diff options
| author | Remco van 't Veer <remco@remworks.net> | 2025-09-28 18:16:54 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-09-29 14:48:51 +0300 |
| commit | ca60f03d8479cdcf384ed6a18f049b11e138be3c (patch) | |
| tree | 15cc3911c752a598592126654ea51c9723453ede /gnu | |
| parent | fd888ddf63f91bcb92d90f5a254b513a3555a694 (diff) | |
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 <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/graphics.scm | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 74a3b306caa..584949e57bf 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)) |
