Skip to content

Commit

Permalink
gnu: go-go-uber-org-atomic: Update to 1.11.0.
Browse files Browse the repository at this point in the history
The upstream suggested to update to the latest version to resolve
failing tests on RISK-V, see
<uber-go/atomic#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
  • Loading branch information
Hellseher committed May 5, 2024
1 parent 79c597c commit b2dbd7c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions gnu/packages/golang-xyz.scm
Expand Up @@ -3251,7 +3251,7 @@ similar string with weeks or days too.")
(define-public go-go-uber-org-atomic
(package
(name "go-go-uber-org-atomic")
(version "1.8.0")
(version "1.11.0")
(source
(origin
(method git-fetch)
Expand All @@ -3260,18 +3260,10 @@ similar string with weeks or days too.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0grswsk7nkf7zmmychf6aj6032shyag1kgs6zf7qwxyn55dym1v8"))))
(base32 "1jdp4gfv9jx7dd066wzj7cj6wsk7fb5q04is42xn2wyp80sw5k3p"))))
(build-system go-build-system)
(arguments
(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"))
(native-inputs
(list go-github-com-stretchr-testify go-github-com-davecgh-go-spew))
Expand Down

0 comments on commit b2dbd7c

Please sign in to comment.