* [bug#57780] [PATCH 1/2] gnu: xsimd: Update to 9.0.1.
[not found] <cover.1663082562.git.code@greghogan.com>
@ 2022-09-13 20:26 ` Greg Hogan
2022-09-13 20:26 ` [bug#57780] [PATCH 2/2] gnu: xsimd-benchmark: Build example Greg Hogan
1 sibling, 0 replies; 2+ messages in thread
From: Greg Hogan @ 2022-09-13 20:26 UTC (permalink / raw)
To: 57780; +Cc: Greg Hogan
* gnu/packages/cpp.scm (xsimd): Update to 9.0.1.
[home-page]: Update redirect.
---
gnu/packages/cpp.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 606cd792c1..8aea2e2441 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -406,7 +406,7 @@ (define-public dashel
(define-public xsimd
(package
(name "xsimd")
- (version "8.1.0")
+ (version "9.0.1")
(source
(origin
(method git-fetch)
@@ -414,7 +414,7 @@ (define-public xsimd
(url "https://github.com/QuantStack/xsimd")
(commit version)))
(sha256
- (base32 "16b9fdvhhsbs93llbzccgpxjdkj8kfvac3wx0b30i306k5f3maq2"))
+ (base32 "1fcy0djwpwvls6yqxqa82s4l4gvwkqkr8i8bibbb3dm0lqvhnw52"))
(file-name (git-file-name name version))))
(build-system cmake-build-system)
(arguments
@@ -422,7 +422,7 @@ (define-public xsimd
#:test-target "xtest"))
(native-inputs
(list googletest))
- (home-page "https://github.com/QuantStack/xsimd")
+ (home-page "https://github.com/xtensor-stack/xsimd")
(synopsis "C++ wrappers for SIMD intrinsics and math implementations")
(description
"xsimd provides a unified means for using @acronym{SIMD, single instruction
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#57780] [PATCH 2/2] gnu: xsimd-benchmark: Build example.
[not found] <cover.1663082562.git.code@greghogan.com>
2022-09-13 20:26 ` [bug#57780] [PATCH 1/2] gnu: xsimd: Update to 9.0.1 Greg Hogan
@ 2022-09-13 20:26 ` Greg Hogan
1 sibling, 0 replies; 2+ messages in thread
From: Greg Hogan @ 2022-09-13 20:26 UTC (permalink / raw)
To: 57780; +Cc: Greg Hogan
* gnu/packages/cpp.scm (xsimd-benchmark): Fix package name.
[arguments]<#:configure-flags>: Enable examples ...
<#:phases>{install} ... and install.
---
gnu/packages/cpp.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 8aea2e2441..6289c9520f 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -456,12 +456,12 @@ (define-public google-highway
library for SIMD (Single Instruction, Multiple Data) with runtime dispatch.")
(license license:asl2.0)))
-(define-public xsmimd-benchmark
+(define-public xsimd-benchmark
(package
(inherit xsimd)
(name "xsimd-benchmark")
(arguments
- `(#:configure-flags (list "-DBUILD_BENCHMARK=ON")
+ `(#:configure-flags (list "-DBUILD_BENCHMARK=ON" "-DBUILD_EXAMPLES=ON")
#:tests? #f
#:phases (modify-phases %standard-phases
(add-after 'unpack 'remove-march=native
@@ -470,9 +470,11 @@ (define-public xsmimd-benchmark
(("-march=native") ""))))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
- ;; Install nothing but the executable.
+ ;; Install nothing but the executables.
(let ((out (assoc-ref outputs "out")))
(install-file "benchmark/benchmark_xsimd"
+ (string-append out "/bin"))
+ (install-file "examples/mandelbrot"
(string-append out "/bin"))))))))
(synopsis "Benchmark of the xsimd library")
--
2.37.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-13 20:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <cover.1663082562.git.code@greghogan.com>
2022-09-13 20:26 ` [bug#57780] [PATCH 1/2] gnu: xsimd: Update to 9.0.1 Greg Hogan
2022-09-13 20:26 ` [bug#57780] [PATCH 2/2] gnu: xsimd-benchmark: Build example Greg Hogan
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.