mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: cl-bordeaux-threads: Update to 0.9.2.
* gnu/packages/lisp-xyz.scm (sbcl-bordeaux-threads): Update to 0.9.2. [inputs]: Add sbcl-global-vars, sbcl-trivial-features and sbcl-trivial-garbage. [arguments]: Add 'silence-deprecation-warning' phase. Update 'adjust-test-sleep' phase.
This commit is contained in:
parent
5c7db8406a
commit
69aadc9e76
1 changed files with 19 additions and 6 deletions
|
@ -1281,27 +1281,40 @@ timeouts.")
|
||||||
(define-public sbcl-bordeaux-threads
|
(define-public sbcl-bordeaux-threads
|
||||||
(package
|
(package
|
||||||
(name "sbcl-bordeaux-threads")
|
(name "sbcl-bordeaux-threads")
|
||||||
(version "0.8.8")
|
(version "0.9.2")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/sionescu/bordeaux-threads")
|
(url "https://github.com/sionescu/bordeaux-threads")
|
||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "19i443fz3488v1pbbr9x24y8h8vlyhny9vj6c9jk5prm702awrp6"))
|
(base32 "0d9sd7pm91yhln95z8nclhn6n4l5b2cp3pxpggpmpv7rsq84ssmh"))
|
||||||
(file-name
|
(file-name (git-file-name "cl-bordeaux-threads" version))))
|
||||||
(git-file-name "bordeaux-threads" version))))
|
(inputs (list sbcl-alexandria
|
||||||
(inputs (list sbcl-alexandria))
|
sbcl-global-vars
|
||||||
|
sbcl-trivial-features
|
||||||
|
sbcl-trivial-garbage))
|
||||||
(native-inputs (list sbcl-fiveam))
|
(native-inputs (list sbcl-fiveam))
|
||||||
(build-system asdf-build-system/sbcl)
|
(build-system asdf-build-system/sbcl)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'silence-deprecation-warning
|
||||||
|
(lambda _
|
||||||
|
;; The deprecation warning for APIv1 makes the build of some
|
||||||
|
;; of the dependents of bordeaux-threads fail because they
|
||||||
|
;; interpret it as an error instead of a simple indication.
|
||||||
|
;; Let's silence this warning for now.
|
||||||
|
(substitute* (cons* "apiv1/default-implementations.lisp"
|
||||||
|
(find-files "apiv1" "impl-.*\\.lisp"))
|
||||||
|
(("\\(warn \"Bordeaux-Threads APIv1 is deprecated\\. Please migrate to APIv2\\.\"\\)")
|
||||||
|
""))))
|
||||||
(add-after 'unpack 'adjust-test-sleep
|
(add-after 'unpack 'adjust-test-sleep
|
||||||
(lambda _
|
(lambda _
|
||||||
;; 0.001 is too short for some slower machines.
|
;; 0.001 is too short for some slower machines.
|
||||||
(substitute* "test/bordeaux-threads-test.lisp"
|
(substitute* '("test/tests-v1.lisp"
|
||||||
|
"test/tests-v2.lisp")
|
||||||
(("sleep 0\\.001") "sleep 0.002")))))))
|
(("sleep 0\\.001") "sleep 0.002")))))))
|
||||||
(synopsis "Portable shared-state concurrency library for Common Lisp")
|
(synopsis "Portable shared-state concurrency library for Common Lisp")
|
||||||
(description "BORDEAUX-THREADS is a proposed standard for a minimal
|
(description "BORDEAUX-THREADS is a proposed standard for a minimal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue