efraim pushed a commit to branch master
in repository guix.
commit 9bd4c35aac3b38e1302ac0c614dcbc3cb4f4e674
Author: zimoun <[email protected]>
AuthorDate: Tue Jan 4 23:47:47 2022 +0100
gnu: Add julia-simd.
* gnu/packages/julia-xyz.scm (julia-simd): New variable.
Signed-off-by: Efraim Flashner <[email protected]>
---
gnu/packages/julia-xyz.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 2872addaa3..9e88987643 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2020, 2021 Nicolò Balzarotti <[email protected]>
-;;; Copyright © 2021 Simon Tournier <[email protected]>
+;;; Copyright © 2021, 2022 Simon Tournier <[email protected]>
;;; Copyright © 2021 Efraim Flashner <[email protected]>
;;; Copyright © 2021 Vinicius Monego <[email protected]>
;;; Copyright © 2021 jgart <[email protected]>
@@ -4406,6 +4406,31 @@ formatting an array of n things, e.g. numbers, dates,
unitful values. It's used
in @code{Gadfly}, @code{Plots} and @code{Makie} to label axes and keys.")
(license license:expat)))
+(define-public julia-simd
+ (package
+ (name "julia-simd")
+ (version "3.3.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/eschnett/SIMD.jl")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jiic2hcl9l6zh6jgqzbd3ik2girmgvni4bq65kdci5l12k9la68"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/eschnett/SIMD.jl")
+ (synopsis "Explicit SIMD vectorization")
+ (description "This package allows programmers to explicitly SIMD-vectorize
+their Julia code. By exposing SIMD vector types and corresponding operations,
+the programmer can explicitly vectorize their code. While this does not
+guarantee that the generated machine code is efficient, it relieves the
+compiler from determining whether it is legal to vectorize the code, deciding
+whether it is beneficial to do so, and rearranging the code to synthesize
+vector instructions.")
+ (license license:expat)))
+
(define-public julia-simpletraits
(package
(name "julia-simpletraits")