gnu: go-go-uber-org-atomic: Update to 1.11.0.

The upstream suggested to update to the latest version to resolve
failing tests on RISK-V, see
<https://github.com/uber-go/atomic/issues/164>.

* gnu/packages/golang-xyz.scm (go-go-uber-org-atomic): Update to 1.11.0.
[arguments]: <#:tests?>: Enable tests on all platforms.

Change-Id: I6df21cfaebb9e4d4a609e93f3fe4bfea2bff5e8d
This commit is contained in:
Sharlatan Hellseher 2024-05-05 21:10:34 +01:00
parent 79c597c0ee
commit b2dbd7ca8a
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3251,7 +3251,7 @@ (define-public go-github-com-xhit-go-str2duration-v2
(define-public go-go-uber-org-atomic (define-public go-go-uber-org-atomic
(package (package
(name "go-go-uber-org-atomic") (name "go-go-uber-org-atomic")
(version "1.8.0") (version "1.11.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -3260,18 +3260,10 @@ (define-public go-go-uber-org-atomic
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0grswsk7nkf7zmmychf6aj6032shyag1kgs6zf7qwxyn55dym1v8")))) (base32 "1jdp4gfv9jx7dd066wzj7cj6wsk7fb5q04is42xn2wyp80sw5k3p"))))
(build-system go-build-system) (build-system go-build-system)
(arguments (arguments
(list (list
;; XXX: Disable failing tests on non-x86-64 architecture, see
;; <https://github.com/uber-go/atomic/issues/164>.
;;
;; go.uber.org/atomic/uintptr_test.go:72:30: cannot convert
;; math.MaxUint64 (untyped int constant 18446744073709551615) to type
;; uintptr
#:tests? (and (not (%current-target-system))
(target-x86-64?))
#:import-path "go.uber.org/atomic")) #:import-path "go.uber.org/atomic"))
(native-inputs (native-inputs
(list go-github-com-stretchr-testify go-github-com-davecgh-go-spew)) (list go-github-com-stretchr-testify go-github-com-davecgh-go-spew))