From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id iBZOJwxAMGYOaAAAqHPOHw:P1 (envelope-from ) for ; Tue, 30 Apr 2024 02:49:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id iBZOJwxAMGYOaAAAqHPOHw (envelope-from ) for ; Tue, 30 Apr 2024 02:49:16 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.fm header.s=fm3 header.b="S uDYcHc"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="U z9RX2a"; 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 (relaxed)" header.from=fastmail.fm (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714438156; 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=F/yfulMknitw7cE5V+CfrjM0ld6siipIieNJaqnjTt4=; b=ZgM6I1DkCj2JGwu4nSKDpBjs0gUFq07OYrczAJL6dBCOg5U+Bf4IPapqXn9Q0aWTJWOoim 1xU5UPtRqAv84QBuztb4Kd8iui/ncHfeXE+/WQXWupLNfm+NVj+woAApeLZ3yLPZilPAbq DfDNuR2XJ8ghKf5nsjNGaKWAujqaNm9wHIBT2zJCvTbBI2A1Sb5VOXMv8tMglDcdGfBxno Kyu7l1yjuYWvxg7RDnso7ZUrRp0J/8BUH6NrhEl41Dh+Oir8+Ax++WQizLAx/wj10AyLtu hkWnq1zcf/g5GEBqr9N+y6DEBbiGdPy8ztmSUCrQ753ACZq5YDo9BqMH99sVUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=fastmail.fm header.s=fm3 header.b="S uDYcHc"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b="U z9RX2a"; 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 (relaxed)" header.from=fastmail.fm (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714438156; a=rsa-sha256; cv=none; b=ozHxz2LZztbwvT0MFFaYl0xbHRivmGZuMSHNQcmdNeiX/WLXUNuhWeTFTl3KXZu3nmnV6r 1VamrIGsWjZ8xjCtnHmT5ee+JgVcHMKmt0DkHpCoIQgCj+SxpBf4/ThP1dcCl5zAR9OBd0 1p4J8RxiI9migBu7J7wsjxGATJX2Hiox9qInGWaQQEh8+IipkBQ4RmCl//UTdnhQ2kzlIr fh4evWMocYmXJ+PXkqnsA1zofSKha+LyHIlPMk+LdNiVNpU3pgAnJBx9Z8t1mMj5dA7V1S uHkjwgy51UAFNDEEnln/JxepdIP0GkTmY/ZjVx3hA4ToMVKAjt4MoeRws/V4UQ== 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 8EB2321EF4 for ; Tue, 30 Apr 2024 02:49:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s1bft-0006tA-9Z; Mon, 29 Apr 2024 20:48:49 -0400 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 1s1bfo-0006qy-VC for guix-patches@gnu.org; Mon, 29 Apr 2024 20:48:45 -0400 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 1s1bfo-0002sA-Mw for guix-patches@gnu.org; Mon, 29 Apr 2024 20:48:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s1bg7-0005sB-U1 for guix-patches@gnu.org; Mon, 29 Apr 2024 20:49:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69023] [PATCH v2 4/5] gnu: bqn: Update cbqn-bootstrap. Resent-From: aecepoglu Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 30 Apr 2024 00:49:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69023 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69023@debbugs.gnu.org Cc: aecepoglu , liliana.prikler@gmail.com Received: via spool by 69023-submit@debbugs.gnu.org id=B69023.171443813022472 (code B ref 69023); Tue, 30 Apr 2024 00:49:03 +0000 Received: (at 69023) by debbugs.gnu.org; 30 Apr 2024 00:48:50 +0000 Received: from localhost ([127.0.0.1]:58971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1bft-0005qK-Vr for submit@debbugs.gnu.org; Mon, 29 Apr 2024 20:48:50 -0400 Received: from fout3-smtp.messagingengine.com ([103.168.172.146]:36283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s1bfk-0005oQ-4E for 69023@debbugs.gnu.org; Mon, 29 Apr 2024 20:48:40 -0400 Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailfout.nyi.internal (Postfix) with ESMTP id AD8FD13800B7; Mon, 29 Apr 2024 20:48:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 29 Apr 2024 20:48:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1714438094; x= 1714524494; bh=F/yfulMknitw7cE5V+CfrjM0ld6siipIieNJaqnjTt4=; b=S uDYcHc/FGMXjhyLtx+dZVPEUt0heWeG2l8PGErG2YSeD+hvvh1IRSJ3oMgYO/bld M3Bkh1Zpr0m045AvTdQgwiAx4rDLsUpoz6/XSihdIlWw1+GiizzxO5tBsfS5aL+L DWidyeSmbCc54FgvITRwH9DoLvVZwoU8uDrr+cdOjctDWvjEks0FS6Kjjh3a3fKM NDGenyRxy82ewmbb9wAa9V+rcZhAMXtGjWQTLbH05FDZsSq/gaeuysRbIveAzN+b p9iiFX0eo0/zaYsyKSUbi8xXUouEWsVDZryjqPSh2WPp9VTx248zLjlMVK6guNKH 1NJamfAsuOl/S6ZBbANgg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1714438094; x= 1714524494; bh=F/yfulMknitw7cE5V+CfrjM0ld6siipIieNJaqnjTt4=; b=U z9RX2a7VwhWz6I6lAbM1zj4dyWtbxTZYHic+cjynP83qNQt1pY3iEkzl1p9VmiYm odC8Ajk/5/SZx4kP8F3ozuC7d5NRO/ocDjEchWq/H0iWBWBsrUJQq+72VwmGd67y 715XPiMNO93Fu+pCp8S8/ihtgLiLTdKT91IXgbbxoyn+1bhr9P0ceDZLch1+MW4S lbLiPH/GbBTWjOIK/8er9CLXdbYvmVbnp1pdFnbgRN/4ncmRxo4Y3n076W3EGdqA SekwAFC6ix9nDnBEUgF6aUiB8bMK3vmXnxqjT/Wwd4Ogk9UFcfkpj/L8lgcRf24w hlF3YrvkAKTjZmTD/7l2Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdduvddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne cujfgurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheprggvtggv phhoghhluhcuoegrvggtvghpohhglhhusehfrghsthhmrghilhdrfhhmqeenucggtffrrg htthgvrhhnpedttddtgeevfedukeejvddugefgvdehteejueetvedttefgkeeigeeufeel fedvtdenucffohhmrghinhepghhithhhuhgsrdgtohhmpdhgihhthhhusgdrihhonecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggvtggvphho ghhluhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Feedback-ID: i7bb4409f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Apr 2024 20:48:14 -0400 (EDT) From: aecepoglu Date: Tue, 30 Apr 2024 01:50:33 +0100 Message-ID: <545260d7b2cb951fd566cabb7666a7870e6f4b31.1714438234.git.aecepoglu@fastmail.fm> X-Mailer: git-send-email 2.44.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 4.01 X-Migadu-Queue-Id: 8EB2321EF4 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: 4.01 X-TUID: iFrI3QDR2uwx gnu/packages/bqn.scm (cbqn-bootstrap): Update cbqn-bootstrap version. Pass make flags to disable git submodules, disable REPLXX dependency. Update system invocation to generate bytecode. Add 'install phase (carried over from cbqn) so other packages can use cbqn-bootstrap to generate bytecode. Change-Id: I115737006ef56a90e643c00009155b02a22bf0b1 --- gnu/packages/bqn.scm | 88 ++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 39 deletions(-) diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm index e6cc2aeef1..aca30f38b7 100644 --- a/gnu/packages/bqn.scm +++ b/gnu/packages/bqn.scm @@ -147,47 +147,57 @@ (define bqn-sources (sha256 (base32 "0jhrazwp4s1a0pzrzyxi7szpchp4avqsvpmslfsgk3c88wf57q6b"))))) (define cbqn-bootstrap - (let* ((revision "2") - (commit "66584ce1491d300746963b8ed17170348b2a03e6")) - (package - (name "cbqn-bootstrap") - (version (git-version "0" revision commit)) - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/dzaima/CBQN") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "13gg96aa56b8k08bjvv8i0f5nxrah2sij7g6pg7i21fdv08rd9iv")))) - (build-system gnu-build-system) - (arguments - (list - #:tests? #f ; skipping tests for bootstrap - #:make-flags #~(list (string-append "CC=" #$(cc-for-target))) - #:phases - #~(modify-phases %standard-phases - (delete 'configure) - (add-before 'build 'generate-bytecode - (lambda* (#:key inputs #:allow-other-keys) - (system (string-append #+dbqn - "/bin/dbqn ./genRuntime " - #+bqn-sources)))) - (replace 'install - (lambda* (#:key outputs #:allow-other-keys) - (mkdir-p (string-append #$output "/bin")) - (chmod "BQN" #o755) - (rename-file "BQN" "bqn") - (install-file "bqn" (string-append #$output "/bin"))))))) - (native-inputs (list dbqn bqn-sources)) - (inputs (list icedtea-8 libffi)) - (synopsis "BQN implementation in C") - (description "This package provides the reference implementation of + (package + (name "cbqn-bootstrap") + (version "0.6.0") + (outputs '("out")) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/dzaima/CBQN") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1qh5hv76bj55ajna8smwniqfa1nmnyqahk40in5bzjsx3vvikpw5")))) + (build-system gnu-build-system) + (arguments + (list + #:tests? #f + #:make-flags #~(list (string-append "version=" + #$version) + (string-append "CC=" + #$(cc-for-target)) "REPLXX=0" + "nogit=1" "notui=1") + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-before 'build 'generate-bytecode + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append "./build/bytecodeLocal/gen")) + (system (string-append #+dbqn + "/bin/dbqn ./build/genRuntime " + #+bqn-sources " " "./build/bytecodeLocal"))))) + (add-after 'generate-bytecode 'symlink-singeli + (lambda* (#:key inputs outputs #:allow-other-keys) + (symlink (string-append (assoc-ref inputs "singeli") + "/lib") "build/singeliLocal"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (mkdir-p (string-append #$output "/bin")) + (chmod "BQN" #o755) + (rename-file "BQN" "bqn") + (install-file "bqn" + (string-append #$output "/bin"))))))) + (native-inputs (list singeli dbqn bqn-sources)) + (inputs (list icedtea-8 libffi)) + (synopsis "BQN implementation in C") + (description + "This package provides the reference implementation of @uref{https://mlochbaum.github.io/BQN/, BQN}, a programming language inspired by APL.") - (home-page "https://mlochbaum.github.io/BQN/") - (license license:gpl3)))) + (home-page "https://mlochbaum.github.io/BQN/") + (license license:gpl3))) (define-public cbqn (package -- 2.44.0