summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDariqq <dariqq@posteo.net>2026-07-09 13:29:20 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-25 11:57:09 +0200
commit2fb7846dadf2f962eee94fc5eee566daa80cf1ef (patch)
tree0e62966a0232192692bf7f430702059fd86e2ed1
parent23c525b1eef130f849f4ee9ab567e8202af60779 (diff)
gnu: robin-map: Update to 1.4.1.
* gnu/packages/datastructures.scm (robin-map): Update to 1.4.1. [arguments]<#:phases>{check}: Do not force static boost and honor #:tests?. Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r--gnu/packages/datastructures.scm19
1 files changed, 11 insertions, 8 deletions
diff --git a/gnu/packages/datastructures.scm b/gnu/packages/datastructures.scm
index b6715f1fa2c..299cd87587e 100644
--- a/gnu/packages/datastructures.scm
+++ b/gnu/packages/datastructures.scm
@@ -537,7 +537,7 @@ bytes of memory space, where n is the length of the string.")
537(define-public robin-map 537(define-public robin-map
538 (package 538 (package
539 (name "robin-map") 539 (name "robin-map")
540 (version "0.6.3") 540 (version "1.4.1")
541 (source (origin 541 (source (origin
542 (method git-fetch) 542 (method git-fetch)
543 (uri (git-reference 543 (uri (git-reference
@@ -546,7 +546,7 @@ bytes of memory space, where n is the length of the string.")
546 (file-name (git-file-name name version)) 546 (file-name (git-file-name name version))
547 (sha256 547 (sha256
548 (base32 548 (base32
549 "1li70vwsksva9c4yly90hjafgqfixi1g6d52qq9p6r60vqc4pkjj")))) 549 "1d17psbkp1jpq61rlddshg1ryly3z1qznq6dcyjyk3qhj3130acc"))))
550 (build-system cmake-build-system) 550 (build-system cmake-build-system)
551 (native-inputs 551 (native-inputs
552 (list boost)) ; needed for tests 552 (list boost)) ; needed for tests
@@ -554,12 +554,15 @@ bytes of memory space, where n is the length of the string.")
554 `(#:phases 554 `(#:phases
555 (modify-phases %standard-phases 555 (modify-phases %standard-phases
556 (replace 'check 556 (replace 'check
557 (lambda _ 557 (lambda* (#:key tests? #:allow-other-keys)
558 (mkdir "tests") 558 (when tests?
559 (with-directory-excursion "tests" 559 (mkdir "tests")
560 (invoke "cmake" "../../source/tests") 560 (substitute* "../source/tests/CMakeLists.txt"
561 (invoke "cmake" "--build" ".") 561 (("set\\(Boost_USE_STATIC_LIBS.*") ""))
562 (invoke "./tsl_robin_map_tests"))))))) 562 (with-directory-excursion "tests"
563 (invoke "cmake" "../../source/tests")
564 (invoke "cmake" "--build" ".")
565 (invoke "./tsl_robin_map_tests"))))))))
563 (home-page "https://github.com/Tessil/robin-map") 566 (home-page "https://github.com/Tessil/robin-map")
564 (synopsis "C++ implementation of a fast hash map and hash set") 567 (synopsis "C++ implementation of a fast hash map and hash set")
565 (description "The robin-map library is a C++ implementation of a fast hash 568 (description "The robin-map library is a C++ implementation of a fast hash