mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
fd888ddf63
commit
ca60f03d84
1 changed files with 14 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue