From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oAapLZp+7GJpLQEAbAwnHQ (envelope-from ) for ; Fri, 05 Aug 2022 04:21:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OImdLZp+7GKragEAauVa8A (envelope-from ) for ; Fri, 05 Aug 2022 04:21:14 +0200 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 428F138796 for ; Fri, 5 Aug 2022 04:21:14 +0200 (CEST) Received: from localhost ([::1]:41664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJmxd-00017c-Dl for larch@yhetil.org; Thu, 04 Aug 2022 22:21:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJmxU-00015Z-Cq for guix-patches@gnu.org; Thu, 04 Aug 2022 22:21:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:37542) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJmxU-0007lR-6U for guix-patches@gnu.org; Thu, 04 Aug 2022 22:21:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJmxT-0006Mm-Tr for guix-patches@gnu.org; Thu, 04 Aug 2022 22:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56991] [PATCH v1 4/5] gnu: bqn: Add singeli-bootstrap. Resent-From: Christopher Rodriguez Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Aug 2022 02:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56991 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56991@debbugs.gnu.org Cc: Christopher Rodriguez X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165966605624388 (code B ref -1); Fri, 05 Aug 2022 02:21:03 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2022 02:20:56 +0000 Received: from localhost ([127.0.0.1]:55516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJmxM-0006LH-5Z for submit@debbugs.gnu.org; Thu, 04 Aug 2022 22:20:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:57176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJmxK-0006L3-Nr for submit@debbugs.gnu.org; Thu, 04 Aug 2022 22:20:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJmxK-00014p-IZ for guix-patches@gnu.org; Thu, 04 Aug 2022 22:20:54 -0400 Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:42675) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJmxJ-0007ki-2M for guix-patches@gnu.org; Thu, 04 Aug 2022 22:20:54 -0400 Received: by mail-qt1-x829.google.com with SMTP id w6so701022qtv.9 for ; Thu, 04 Aug 2022 19:20:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=WMYg049LGF/JTJfdsa0m/wZUGlGnq3cM1w8+lxsLvPg=; b=SLGt5D0EDl0aCFW2Jmkbt/jGM1sm/CmxZLcwzaVSU6K32Y3KwIerlxdQNF+A4vO058 e/dLEAaBlwvLLXtP5OENAPajD6EbAnuj5J/vdqUpXIQGp0dqLet30bOO89z1VEUK2af2 i3168XJhXccb0HcCKdqVsbnzWwgapIcy6Z7zLxwHgdzGzMznwOQ8iswIb8xwZol9ZFZC f9P6fAdt9WRopQm1+DjGrg8UVi6jYBnh95VVadiWv99b26ozdfd00LYrKs9Abal0dqty 03bXH0tXNXzau9EfmBy2tYTFNlVDuI5/9Gv9Mw+RbS+x3DNZeVNHTKffpcuW5OSyiU2d cp3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=WMYg049LGF/JTJfdsa0m/wZUGlGnq3cM1w8+lxsLvPg=; b=poxDWLB95akb7ecOtg2g4hf4s5X+S6/KbiNRUbR9fOYUW9E8MfXOuYiSrKtbXAT7UY rWELfaf7129ImQv/3IXrA4dNmaW3AhmZk+6bS3UcCjF8tOBibKcP0yepde2uWMjVPUku Qjw2LxtiEP/0571iCvhzwwJ98l+CSeb1rS0RhrYSZOlcVtWm28pviKCSFu2Pf+koDp90 yBnTdSK29yMwhd8w16s3l932fiSbxrkcxCUUS13euMsSYPnhS7XN2whn8lJU43bV/AjX esE88/lorAhIAKBp3adNky+5b9mJsQWWYb1HF6/K3ecQeHwvFVz4sXYW1LJvh46BjQ8X iwKw== X-Gm-Message-State: ACgBeo1jwiQxj0T7I8aOAgdOB9HynuuF2TrmnE65PfYyjC00QZQuarC2 /NpFVzRcd/kuM6bUk8YJDHvUFkJWP6PaGA== X-Google-Smtp-Source: AA6agR6Mizoq+wKc+o1wLYfEfQfysVxA1tcjgvhAL4vpq6+9Q46CwpRUYoxIBrB15JMsS9DqxwdQlw== X-Received: by 2002:ac8:5c0f:0:b0:31f:39de:987 with SMTP id i15-20020ac85c0f000000b0031f39de0987mr4226789qti.77.1659666051834; Thu, 04 Aug 2022 19:20:51 -0700 (PDT) Received: from gmail.com ([2601:547:a00:7720::7bb0]) by smtp.gmail.com with ESMTPSA id u17-20020a05622a011100b003051ea4e7f6sm1884051qtw.48.2022.08.04.19.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 19:20:51 -0700 (PDT) From: Christopher Rodriguez Date: Thu, 4 Aug 2022 22:20:22 -0400 Message-Id: <20220805022023.5044-4-yewscion@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220805022023.5044-1-yewscion@gmail.com> References: <20220805022023.5044-1-yewscion@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::829; envelope-from=yewscion@gmail.com; helo=mail-qt1-x829.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659666074; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=WMYg049LGF/JTJfdsa0m/wZUGlGnq3cM1w8+lxsLvPg=; b=Frn2ET3UjG3O++BPEnSY6WllA6/JuAPKWM2wNQtdJ+1lVuBzXiEWzOaOIZnqzjfwduphsN 5MsZ4Nk3czAgXAOwLWDuqeN+vx7U8/QrbXet335cGtGWXWe5dsFUK33drrrvk7N/PqcUqM zB9yPheRqemFek0Fhb7M7OYDwlsHr6QGAYR7BjL1Oonph3x6kO3KKmxRgLrsratmZ+m/ef S1rekvMrXVRZjwKBiOq/7sdHdg6F0KQgMqbSRCbiJ9vUJMyVGAL+9+Bha7FxMr6l6jttzd XVqungRtiOAULJBncooHy7t+7xzCd7R8ewOemI8paY3WSMLlFc1xZFNo+Ac0uA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659666074; a=rsa-sha256; cv=none; b=Ir/Ri0He05QZWr/ztadEIeKxlHJdEro/qIl7p7uvSQt7VN13T7S0dWKFYQrWNQUeBJju7M c1MaCSFYtC4ArQK53PwDkKJLaxOVBQ43aMJjJS3pNCloMkE5mfPyGIAWU4F8XE4UmgYHg3 rQ6kAGnNe38lXuuo0BXukdrqdamjSgzQLO1DIPF92WhL61GPefMJ9w3RMvOeG1ZSCwVzCH IrA7xzywCibjocqm1qSQa97xSb92D6XE07fsB7+xxQNMfEP+dTBasZcU9HyNilyLin97FO R9zMjaBtt5obCsqQoDExVqF1dKQCEaN/ouiPzT4YBORxtI23+F6cL2kd1GKVPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SLGt5D0E; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Spam-Score: 5.99 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SLGt5D0E; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 428F138796 X-Spam-Score: 5.99 X-Migadu-Scanner: scn0.migadu.com X-TUID: dDuVlqtGFsv9 --- gnu/packages/bqn.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm index 0e26706476..3616067d87 100644 --- a/gnu/packages/bqn.scm +++ b/gnu/packages/bqn.scm @@ -171,3 +171,38 @@ (define cbqn-bootstrap according to the official documentation of that specification.") (home-page "https://mlochbaum.github.io/BQN/") (license license:gpl3)))) +(define singeli-bootstrap + (let* ((tag "0") + (revision "1") + (commit "fd17b144483549dbd2bcf23e3a37a09219171a99") + (hash "1rr4l7ijzcg25n2igi1mzya6qllh5wsrf3m5i429rlgwv1fwvfji") + (version (git-version tag revision commit))) + (package + (name "singeli-bootstrap") + (version version) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mlochbaum/Singeli") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + hash)))) + (outputs '("out")) + (build-system copy-build-system) + (arguments + (list + ;; cbqn needs the layout of singeli to stay the same for its tests. + #:install-plan '(list (list "./" "share/singeli")))) + (native-inputs (list cbqn-bootstrap)) + (synopsis "High-level interface for low-level programming") + (description + "Singeli is a domain-specific language for building SIMD + algorithms with flexible abstractions and control over every instruction + emitted. It's implemented in BQN, with a frontend that emits IR and a + backend that converts it to C. Other backends like LLVM or machine code + are possible—it should be easy to support other CPU architectures but + there are no plans to target GPUs.") + (home-page "https://github.com/mlochbaum/Singeli") + (license license:isc)))) -- 2.37.1