diff options
author | Marius Bakke <marius@gnu.org> | 2022-08-09 22:20:31 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-08-10 00:29:00 +0200 |
commit | 131e09b95a85a826e539b7a6a536e217e0cdcf7c (patch) | |
tree | 41ae59446fa6e9fe1abe7f9899d98cb760368c7b /gnu | |
parent | e3fc94576ec0fac00ffd1e3f79f2a5c7ad8e2265 (diff) | |
download | guix-131e09b95a85a826e539b7a6a536e217e0cdcf7c.tar.gz |
gnu: spdlog: Prevent test failure on busy machines.
* gnu/packages/logging.scm (spdlog)[source](modules, snippet): New fields.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/logging.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm index 9e7cfe613a..099b6a9509 100644 --- a/gnu/packages/logging.scm +++ b/gnu/packages/logging.scm @@ -220,7 +220,14 @@ output in multiple windows in a terminal.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "02xz017ba9fssm1rp1fcfld7h79awbr6fqai9dxaqp02akp3davk")))) + (base32 "02xz017ba9fssm1rp1fcfld7h79awbr6fqai9dxaqp02akp3davk")) + (modules '((guix build utils))) + (snippet + ;; Prevent race on busy hardware. Remove snippet for versions + ;; > 1.10.0; see <https://github.com/gabime/spdlog/issues/2363>. + '(substitute* "tests/test_misc.cpp" + (("spdlog::details::os::sleep_for_millis\\(10\\)") + "spdlog::details::os::sleep_for_millis(100)"))))) (build-system cmake-build-system) ;; TODO run benchmark. Currently not possible, as adding ;; (gnu packages benchmark) forms a dependency cycle |