From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id iMJbJ6TYYGWD0AAA9RJhRA:P1 (envelope-from ) for ; Fri, 24 Nov 2023 18:08:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id iMJbJ6TYYGWD0AAA9RJhRA (envelope-from ) for ; Fri, 24 Nov 2023 18:08:52 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 839335CC03 for ; Fri, 24 Nov 2023 18:08:52 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="A6do/+N2"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1700845732; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=W/yiPq1iQs4MuxtsnAeOg7Spcn8Dn4+FQtF+GZFkKRE=; b=cxUnbqCPGUTPhdOFFSvp2WlLkkxdY6EoKHIRsoCRxlDzEz1DqNWzrnjpT038/wmS4jDiD/ HxseWEzOxuHd8NcyCAKpw/OnAnU/KZ4joZdOjfz8kjD2coqsfIRw4zqqLSTxlsu+RXhxX6 IMVgqbHurysTv/PHilwEke7vZkp6nJtDQVEIyBlmTBLrveHQnBc1/ENrm8IBuji0xip5Ix HCkkVs7XyipP5+BZTeIl7ZAcdiBA5WRAbsyXDFbpQk8EFVf6FApa8wg1fX1FZV3Epu04Rw 63DAi4jcufrqgNcFQLztklfPBSC4lp9J1J4/ou+XIqBfjDEm/N48CY2QcWeyqA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b="A6do/+N2"; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1700845732; a=rsa-sha256; cv=none; b=biLyEQyg/xFMkOxA7QdFhjgXpTI7fZu4JuJTWafCd93hUc8Rcp2ZSn1HP5oM6h/10D7EWA vcEiSOqaT3RLqlE4woJrUY+D/EVvXDoxJujYjixxOwE5kCwTRoIT5c9RYLDxDxfFnKZA0i V+20Zr48r36ZVOYgdNI2JO2AQyQi5gv3S/zwN7sn2LX+GUWMcFRm9I0f0KFLIXzBoCi5AT l7HuVTNziJhMHEU/CM5GAn177YNGlqXe9EZqbSYmQUkBDAYsA/mYD5wG2h6KyKmQg+Vt46 FGI3wAiVTCnKv5vz0v6+Y1EiAjJHpywe1WSpDu0RhIUoQVNtCArhXPFpbVy2/g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6Zev-0001O1-1I; Fri, 24 Nov 2023 12:08:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6Zer-0001Ik-IJ for guix-patches@gnu.org; Fri, 24 Nov 2023 12:08:01 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6Zeq-0005lC-6k for guix-patches@gnu.org; Fri, 24 Nov 2023 12:08:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6Zeu-0004ht-Nd for guix-patches@gnu.org; Fri, 24 Nov 2023 12:08:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67428] [PATCH v2 11/12] gnu: Add cl-quil Resent-From: Michal Atlas Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Nov 2023 17:08:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67428 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67428@debbugs.gnu.org Cc: Michal Atlas Received: via spool by 67428-submit@debbugs.gnu.org id=B67428.170084567218005 (code B ref 67428); Fri, 24 Nov 2023 17:08:04 +0000 Received: (at 67428) by debbugs.gnu.org; 24 Nov 2023 17:07:52 +0000 Received: from localhost ([127.0.0.1]:37113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6Zeh-0004gE-Rz for submit@debbugs.gnu.org; Fri, 24 Nov 2023 12:07:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]:44063) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6ZeX-0004eZ-UG for 67428@debbugs.gnu.org; Fri, 24 Nov 2023 12:07:42 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B6758240101 for <67428@debbugs.gnu.org>; Fri, 24 Nov 2023 18:07:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1700845651; bh=xu237WuOg+6OOKIVYagHgcYbREs01I9CU6MB6rjkKyY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=A6do/+N2fLIk0b0twb3Q0wN+CSzwftpHwkIenKgpW8ap5blvTR5kIZApjiI3qOe5s 3osm/kkskc+A9WPl6WEHK4sLtpebMJCJ3+X0YKj+a/ZRg1p28T9tnVhAyGn3celGzX o57Z0x23bpUA/XIHPMlemmd5lLAel92fqjuweoOIj5JD9h3dg92CzLVGjkLfNLOytg FVUZ4vmHu6yX7h/wgmV+oqCytKjPd62H/tUG1OoItRa4f36URiN6n1U8yI8lxqc45M JRTHoTPVG9ye3alMiPF4V9B8gG/rEV6faJC11ox7rjixuX++oeIL53qXLLU0abH6tR 3eATCcnJvaScQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ScLyC2s0Fz6tm4; Fri, 24 Nov 2023 18:07:31 +0100 (CET) From: Michal Atlas Date: Fri, 24 Nov 2023 17:07:16 +0000 Message-ID: <1a45d226a7cd1ced86d8042f4f34f582830d28e7.1700844983.git.michal_atlas+git@posteo.net> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.18 X-Spam-Score: 3.18 X-Migadu-Queue-Id: 839335CC03 X-Migadu-Scanner: mx13.migadu.com X-TUID: JbjUymVKNo+L * gnu/packages/quantum.scm (sbcl-cl-quil, cl-quil): New variables. Change-Id: Ief158f0e6e9ac47f9d4ff151d5ab8f551a6f37b4 --- gnu/packages/quantum.scm | 46 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/quantum.scm b/gnu/packages/quantum.scm index adc2e848ac..01f1d0e8f9 100644 --- a/gnu/packages/quantum.scm +++ b/gnu/packages/quantum.scm @@ -96,3 +96,49 @@ (define-public ecl-rpcq (define-public cl-rpcq (sbcl-package->cl-source-package sbcl-rpcq)) +(define-public sbcl-cl-quil + (package + (name "sbcl-cl-quil") + (version "1.26.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/quil-lang/quilc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1s99lk456sw9hhsx5cf3x9r97iw9s3ydqsd94zz3bjnq77wmkhz5")))) + (build-system asdf-build-system/sbcl) + (arguments + (list + ;; Requires cyclic dependency with qvm + #:tests? #f)) + (inputs (list sbcl-alexa + sbcl-cl-yacc + sbcl-alexandria + sbcl-parse-float + sbcl-abstract-classes + sbcl-split-sequence + sbcl-cl-algebraic-data-type + sbcl-cl-permutation + sbcl-trivial-garbage + sbcl-magicl + sbcl-global-vars + sbcl-salza2 + sbcl-optima + sbcl-cl-grnm + sbcl-yason + sbcl-cl-heap + sbcl-queues)) + (synopsis "The optimizing Quil compiler") + (description "Quil is the quantum instruction language, +originally developed at Rigetti Computing. +In Quil quantum algorithms are expressed using +Quil's standard gates and instructions") + (home-page "https://github.com/quil-lang/quilc") + (license license:asl2.0))) + +(define-public cl-quil + (sbcl-package->cl-source-package sbcl-cl-quil)) + -- 2.41.0