[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/13: gnu: Add julia-adapt.
From: |
guix-commits |
Subject: |
09/13: gnu: Add julia-adapt. |
Date: |
Sat, 30 Jan 2021 09:38:29 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit 20767b9b6914aa0b79ae8ad14f0d8d53057e019d
Author: nixo <nicolo@nixo.xyz>
AuthorDate: Mon Jan 18 23:46:51 2021 +0100
gnu: Add julia-adapt.
* gnu/packages/julia-xyz.scm (julia-adapt): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/julia-xyz.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 9a615ab..2e0efb0 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -22,6 +22,28 @@
#:use-module (guix git-download)
#:use-module (guix build-system julia))
+(define-public julia-adapt
+ (package
+ (name "julia-adapt")
+ (version "3.1.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/JuliaGPU/Adapt.jl")
+ (commit (string-append "v" version))))
+ (file-name "Adapt")
+ (sha256
+ (base32 "1lks6k3a1gvwlplld47nh6xfy3nnlpc0vhkzg6zg0qn33qdmavrg"))))
+ (build-system julia-build-system)
+ (home-page "https://github.com/JuliaGPU/Adapt.jl")
+ (synopsis "Package providing the @code{adapt} function, similar to
@code{convert}")
+ (description "This Julia package provides the @code{adapt(T, x)} function
+acts like @code{convert(T, x)}, but without the restriction of returning a
+@code{T}. This allows you to \"convert\" wrapper types like @code{Adjoint} to
+be GPU compatible without throwing away the wrapper.")
+ (license license:expat)))
+
(define-public julia-compat
(package
(name "julia-compat")
- branch master updated (0f27a97 -> b841524), guix-commits, 2021/01/30
- 02/13: build-system/julia: Don't rely on file name to set module name., guix-commits, 2021/01/30
- 01/13: build-system/julia: Enable tests., guix-commits, 2021/01/30
- 04/13: gnu: julia-compat: Update to 3.25.0., guix-commits, 2021/01/30
- 09/13: gnu: Add julia-adapt.,
guix-commits <=
- 13/13: guix system: Test 'extension-graph' and 'shepherd-graph'., guix-commits, 2021/01/30
- 08/13: gnu: Add julia-parsers., guix-commits, 2021/01/30
- 10/13: gnu: Add julia-offsetarrays., guix-commits, 2021/01/30
- 05/13: gnu: Add julia-orderedcollections., guix-commits, 2021/01/30
- 03/13: gnu: julia-compat: Set file name according to standards., guix-commits, 2021/01/30
- 06/13: gnu: Add julia-datastructures., guix-commits, 2021/01/30
- 07/13: gnu: Add julia-fixedpointnumbers., guix-commits, 2021/01/30
- 11/13: gnu: Add julia-json., guix-commits, 2021/01/30
- 12/13: services: shepherd: Allow custom 'shepherd' package., guix-commits, 2021/01/30