From: Michal Atlas <michal_atlas+git@posteo.net>
To: 67428@debbugs.gnu.org
Cc: Michal Atlas <michal_atlas+git@posteo.net>
Subject: [bug#67428] [PATCH v2 12/12] gnu: Add cl-qvm
Date: Fri, 24 Nov 2023 17:07:17 +0000 [thread overview]
Message-ID: <97091653a21aeab8769e342271560242df0f21f2.1700844983.git.michal_atlas+git@posteo.net> (raw)
In-Reply-To: <d9c4cec2b7a19c9ee13a5758b94ed5d0c6dcd7c3.1700844983.git.michal_atlas+git@posteo.net>
* gnu/packages/quantum.scm: (sbcl-qvm, cl-qvm): New variables.
Change-Id: Ife0bdcfdce01dc6ca4a7115cb54e093a76729527
---
gnu/packages/quantum.scm | 64 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm
index 01f1d0e8f9..1cd980cb3f 100644
--- a/gnu/packages/quantum.scm
+++ b/gnu/packages/quantum.scm
@@ -142,3 +142,67 @@ (define-public sbcl-cl-quil
(define-public cl-quil
(sbcl-package->cl-source-package sbcl-cl-quil))
+(define-public sbcl-qvm
+ (package
+ (name "sbcl-qvm")
+ (version "1.17.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/quil-lang/qvm")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1cvmkqfcy7rv5jlim4kh4dvqhd3jk6mw1kwrphaqghjymrf72yp8"))))
+ (build-system asdf-build-system/sbcl)
+ (outputs '("out" "bin"))
+ (inputs (list sbcl-alexandria
+ sbcl-abstract-classes
+ sbcl-ieee-floats
+ sbcl-lparallel
+ sbcl-magicl
+ sbcl-trivial-garbage
+ sbcl-global-vars
+ sbcl-cffi
+ sbcl-static-vectors
+ sbcl-trivial-garbage
+ sbcl-cl-quil
+ sbcl-mt19937
+ sbcl-trivial-features
+
+ ;; qvm-app
+ sbcl-command-line-arguments
+ sbcl-trivial-benchmark
+ sbcl-hunchentoot
+ sbcl-slime-swank
+ sbcl-cl-syslog))
+ (arguments
+ (list
+ #:asd-systems ''("qvm" "qvm-app")
+ ;; Requires cyclic dependency with quilc
+ #:tests? #f
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-git-dependency
+ (lambda _
+ (substitute* "app/src/qvm-app-version.lisp"
+ (("\\(git-hash '#:qvm-app\\)")
+ "\"unknown\""))))
+ (add-after 'create-asdf-configuration 'build-program
+ (lambda* (#:key outputs #:allow-other-keys)
+ (build-program (string-append (assoc-ref outputs "bin")
+ "/bin/qvm")
+ outputs
+ #:dependencies '("qvm-app")
+ #:entry-program '((qvm-app::asdf-entry-point))
+ #:compress? #t))))))
+
+ (synopsis "The high-performance and featureful Quil simulator")
+ (description
+ "This is the official Quil-Lang Quantum Virtual Machine (QVM),
+a flexible and efficient simulator for Quil")
+ (home-page "https://github.com/quil-lang/qvm")
+ (license license:asl2.0)))
+
+(define-public cl-qvm
+ (sbcl-package->cl-source-package sbcl-qvm))
--
2.41.0
next prev parent reply other threads:[~2023-11-24 17:08 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 10:28 [bug#67428] [PATCH 00/12] gnu: Add Quil Quantum VM (QVM) and CL dependencies Michal Atlas
2023-11-24 16:19 ` [bug#67428] [PATCH 01/12] gnu: Add cl-interface Michal Atlas
2023-11-24 16:22 ` jgart via Guix-patches via
2024-01-24 17:57 ` Guillaume Le Vaillant
2024-01-25 0:28 ` jgart via Guix-patches via
2023-11-24 17:05 ` [bug#67428] [PATCH v2 " Michal Atlas
2023-11-24 17:05 ` [bug#67428] [PATCH v2 02/12] gnu: Add cl-syslog Michal Atlas
2023-11-24 17:06 ` [bug#67428] [PATCH v2 03/12] gnu: Add cl-alexa Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 04/12] gnu: Add cl-metering Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 05/12] gnu: Add cl-grnm Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 06/12] gnu: Add cl-priority-queue Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 07/12] gnu: Add cl-messagepack Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 08/12] gnu: Add cl-permutation Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 09/12] gnu: Add cl-magicl Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 10/12] gnu: Add cl-rpcq Michal Atlas
2023-11-24 17:07 ` [bug#67428] [PATCH v2 11/12] gnu: Add cl-quil Michal Atlas
2023-11-24 17:07 ` Michal Atlas [this message]
2024-01-28 16:36 ` bug#67428: [PATCH v2 01/12] gnu: Add cl-interface Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97091653a21aeab8769e342271560242df0f21f2.1700844983.git.michal_atlas+git@posteo.net \
--to=michal_atlas+git@posteo.net \
--cc=67428@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.