all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 3663e386ea6cbaa51a6c7a68da6033f6c7f8e06c 2137 bytes (raw)
name: gnu/packages/quantum.scm 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
 
(define-module (gnu packages quantum)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages commencement)
  #:use-module (gnu packages lisp-check)
  #:use-module (gnu packages lisp-xyz)
  #:use-module (gnu packages maths)
  #:use-module (guix build-system asdf)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module (guix packages))

(define-public sbcl-magicl
  (package
    (name "sbcl-magicl")
    (version "0.9.1")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/quil-lang/magicl")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0x9p55qin399jhr5md88nij8fv78b64xjhww7ys364pkjnx8ak9v"))))
    (build-system asdf-build-system/sbcl)
    (inputs (list sbcl-alexandria
                  sbcl-abstract-classes
                  sbcl-policy-cond
                  sbcl-interface
                  sbcl-static-vectors
                  sbcl-trivial-garbage
                  lapack
                  gfortran-toolchain
                  sbcl-fiasco))
    (arguments
     (list
      #:phases #~(modify-phases %standard-phases
                   (add-after 'unpack 'fix-paths
                     (lambda* (#:key inputs #:allow-other-keys)
                       (let ((lapack (assoc-ref inputs "lapack")))
                         (substitute* "src/extensions/blas/load-libs.lisp"
                           (("libblas.so")
                            (string-append lapack "/lib/libblas.so")))
                         (substitute* "src/extensions/lapack/load-libs.lisp"
                           (("liblapack.so")
                            (string-append lapack "/lib/liblapack.so")))))))))
    (synopsis "Matrix Algebra proGrams In Common Lisp")
    (description "Matrix Algebra proGrams In Common Lisp by Rigetti Computing.
(née FLAIL: Finally, Linear Algebra In Lisp!)")
    (home-page "https://github.com/quil-lang/magicl")
    (license license:asl2.0)))

(define-public cl-magicl
  (sbcl-package->cl-source-package sbcl-magicl))

debug log:

solving 3663e386ea ...
found 3663e386ea in https://yhetil.org/guix/f28ea6902ec0f984d07f10dd14e67a839ba37c0e.1700844983.git.michal_atlas+git@posteo.net/

applying [1/1] https://yhetil.org/guix/f28ea6902ec0f984d07f10dd14e67a839ba37c0e.1700844983.git.michal_atlas+git@posteo.net/
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
new file mode 100644
index 0000000000..3663e386ea

Checking patch gnu/packages/quantum.scm...
Applied patch gnu/packages/quantum.scm cleanly.

index at:
100644 3663e386ea6cbaa51a6c7a68da6033f6c7f8e06c	gnu/packages/quantum.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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.