gnu: xsimd: Improve package style.

* gnu/packages/cpp.scm (xsimd) [source] <url>: Fix redirection issue,
<https://github.com/QuantStack/xsimd> permamently redirects to
<https://github.com/xtensor-stack/xsimd>.
[arguments]: Use G-expressions.
[description]: Adjust fill column indentation.

Change-Id: I8096e07c026c9f08a9d647a44f9930900b3ae1bd
This commit is contained in:
Sharlatan Hellseher 2025-01-03 20:35:01 +00:00
parent 6dd2193879
commit f165f68188
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -611,25 +611,26 @@ enabled in different parts of your code.")
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/QuantStack/xsimd") (url "https://github.com/xtensor-stack/xsimd")
(commit version))) (commit version)))
(sha256 (sha256
(base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52")) (base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
`(#:configure-flags (list "-DBUILD_TESTS=ON") (list
#:test-target "xtest")) #:configure-flags #~(list "-DBUILD_TESTS=ON")
#:test-target "xtest"))
(native-inputs (native-inputs
(list googletest)) (list googletest))
(home-page "https://github.com/xtensor-stack/xsimd") (home-page "https://github.com/xtensor-stack/xsimd")
(synopsis "C++ wrappers for SIMD intrinsics and math implementations") (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
(description (description
"xsimd provides a unified means for using @acronym{SIMD, single instruction "xsimd provides a unified means for using @acronym{SIMD, single
multiple data} features for library authors. Namely, it enables manipulation of instruction multiple data} features for library authors. Namely, it enables
batches of numbers with the same arithmetic operators as for single values. manipulation of batches of numbers with the same arithmetic operators as for
It also provides accelerated implementation of common mathematical functions single values. It also provides accelerated implementation of common
operating on batches.") mathematical functions operating on batches.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public google-highway (define-public google-highway