diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-20 12:57:17 +0200 |
|---|---|---|
| committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-21 22:52:56 +0800 |
| commit | 09cfda01455c6e148a014c18f22103fc245adb36 (patch) | |
| tree | c1ca248e59e5f28e516d504c0bdc94685bb3ec10 /gnu/packages | |
| parent | 4c9d112831f49d69b4a90740f5e2fdd17f68fa17 (diff) | |
gnu: qtbase: Fix building on i686-linux.
* gnu/packages/qt.scm (qtbase)[arguments]: When building for i686-linux
add a phase to skip building one of the tests.
Change-Id: Ia594e851864d967bfb3716c3e89ba4947206bb4a
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/qt.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 3cdd7c7b3ef..a6a431b8e09 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm | |||
| @@ -799,6 +799,14 @@ developers using C++ or QML, a CSS & JavaScript like language.") | |||
| 799 | (string-append head "\"$ENV{CMAKE_PREFIX_PATH}\""))))) | 799 | (string-append head "\"$ENV{CMAKE_PREFIX_PATH}\""))))) |
| 800 | (delete 'patch-bin-sh) | 800 | (delete 'patch-bin-sh) |
| 801 | (delete 'patch-xdg-open) | 801 | (delete 'patch-xdg-open) |
| 802 | ;; Some tests fail to build on i686-linux | ||
| 803 | #$@(if (target-x86-32?) | ||
| 804 | #~((add-after 'unpack 'skip-some-tests | ||
| 805 | ;; This might be a FLOAT16 problem. | ||
| 806 | (lambda _ | ||
| 807 | (substitute* "tests/auto/corelib/global/CMakeLists.txt" | ||
| 808 | ((".*qcomparehelpers.*") ""))))) | ||
| 809 | #~()) | ||
| 802 | (add-after 'patch-paths 'patch-more-paths | 810 | (add-after 'patch-paths 'patch-more-paths |
| 803 | (lambda* (#:key inputs #:allow-other-keys) | 811 | (lambda* (#:key inputs #:allow-other-keys) |
| 804 | (substitute* (find-files "bin" "\\.in$") | 812 | (substitute* (find-files "bin" "\\.in$") |
