From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id uOPhE2g35mUoWAEAqHPOHw:P1 (envelope-from ) for ; Mon, 04 Mar 2024 22:04:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uOPhE2g35mUoWAEAqHPOHw (envelope-from ) for ; Mon, 04 Mar 2024 22:04:40 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eyvWJd0p; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709586280; h=from:from:sender:sender:reply-to: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=Fw4Q/91mZ0cLrqFMOwS4ANe3yD2he9sxyqFM4GfAWSk=; b=HjdujKR9m2ndSFqMu4GFQUgGWPnHORTt1XxleUmq00XVKuS08WJ+N4xCLhoQRyf3hoJvKK cu+MM+7h6UHVx2As53BTYLw22ffR7xaCLij03dwyzJxG/7+e5c1wCUpEgV17/jlWef9mzZ ykRrlw2reDoIV98+7GA4yRhwTu5sImtx3M8DtJYTM11yqUyGhnDixZMFo8mEXxdRkJnN6B M7TQvnUeJzBPXEpAzqsacvzQeCHmDsbZc+wacGILPmra0jfDV+3U5jgRejv6HdSgRRr8uD fG/r9U1aY5+5AtH67kwDHsp1dKt5gfT1EIcQ+ZCO90GMqHAvUk1Pa06Sni6xug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=eyvWJd0p; 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=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709586280; a=rsa-sha256; cv=none; b=ezJT4v0O9WNJOnGqwYl0DxFnTiSRO6rQyVEIZRtefbS1HFoAACGlV9ycpZbj5dZ9dQztZW EpYab0UrJFjsUntOosu7eQ8ISLEB1XQyoikczLKejW7j4++AYVHE5/k/xoV49658tgnVgP meTzJPt/hEXms4Te8EbLUpjPHxSMRcXPaDF2La6d09u348erD5oRaEBUs6fhN0sFFVOmL1 Y2g8X6z3YnrDXS+Mgm0hSuc46gsGUAEixINxjRqQC4eMV42+mO6vYAt087L+T4gpXzMwmc bKHgKEr9fBh8hTq+Oj1tZfRJHOrIUU+voH07IpPjLUqZnuF4ZB1Uzv+coOQZmQ== 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 169D6696E2 for ; Mon, 4 Mar 2024 22:04:40 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhFU0-0003aT-F2; Mon, 04 Mar 2024 16:04:24 -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 1rhE45-00031m-3l for guix-patches@gnu.org; Mon, 04 Mar 2024 14:33:33 -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 1rhE44-0005HN-Ra for guix-patches@gnu.org; Mon, 04 Mar 2024 14:33:32 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rhE4Y-0007vW-Ie for guix-patches@gnu.org; Mon, 04 Mar 2024 14:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69552] [PATCH 1/2] gnu: Add cyclone-bootstrap. Resent-From: TakeV Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Mar 2024 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69552 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69552@debbugs.gnu.org Cc: TakeV Received: via spool by 69552-submit@debbugs.gnu.org id=B69552.170958083030436 (code B ref 69552); Mon, 04 Mar 2024 19:34:02 +0000 Received: (at 69552) by debbugs.gnu.org; 4 Mar 2024 19:33:50 +0000 Received: from localhost ([127.0.0.1]:44916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhE4M-0007up-5I for submit@debbugs.gnu.org; Mon, 04 Mar 2024 14:33:50 -0500 Received: from layka.disroot.org ([178.21.23.139]:54896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rhE4J-0007uh-MH for 69552@debbugs.gnu.org; Mon, 04 Mar 2024 14:33:48 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 6D22240D80; Mon, 4 Mar 2024 20:33:17 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lmvdGWUlkVmo; Mon, 4 Mar 2024 20:33:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1709580796; bh=Mr/SnxRMYGBeyhaA+NG732GtOJ3c0s3pfXIShx1XPrE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=eyvWJd0pmTVeB4rAf73sqQsL8lQTZPGubo713vT4BXptz02NwZ8ZXfi0WzPF+RVSP cwyiEQ2mKVyuBj3RXW5Y7I8csFf28pU90/a5ipyQdnrjAMWwsmW9PAYI7H8YFZUCGJ ftbpH/HXZErA/BepKLmTR3sM9rVgjeH3MRcYLQjLbcG11uXksDG6CPyVQSf2rCtB/K lJ6XfLtaFcsIWTxDUhM+MPjbiSXYIKdK0wHNYT417juMT+dVGerLDI1l9+27kLEP2Z A4tysL817HN6/CYu5urkymlaUElxSjujBdwgAU+6BH1NzGnuP0QNre6+3+x/gMSi/2 uyZ2acZ5EXkVA== Date: Mon, 4 Mar 2024 14:32:56 -0500 Message-ID: <2d510059d5d61a3cde755399cfc79b494090d25f.1709580311.git.takev@disroot.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Mon, 04 Mar 2024 16:04:21 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: TakeV X-ACL-Warn: , TakeV via Guix-patches From: TakeV via Guix-patches via 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-Migadu-Spam-Score: -6.78 X-Spam-Score: -6.78 X-Migadu-Queue-Id: 169D6696E2 X-Migadu-Scanner: mx11.migadu.com X-TUID: hJeGOE/cotyk * gnu/packages/scheme.scm (cyclone-bootstrap): New variable. Change-Id: I85d37ebc48882d4b830ef34851ae6d37ecf2e6e5 --- gnu/packages/scheme.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index ad06d7db06..7931ac1cc1 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -23,6 +23,7 @@ ;;; Copyright © 2023 Andrew Whatson ;;; Copyright © 2023 Juliana Sims ;;; Copyright © 2023 Maxim Cournoyer +;;; Copyright © 2024 TakeV ;;; ;;; This file is part of GNU Guix. ;;; @@ -59,6 +60,7 @@ (define-module (gnu packages scheme) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bdw-gc) + #:use-module (gnu packages c) #:use-module (gnu packages compression) #:use-module (gnu packages databases) #:use-module (gnu packages emacs) @@ -1276,3 +1278,35 @@ (define-public stklos Machine. STklos can also be compiled as a library and embedded in an application.") (license gpl2+))) + +;; cyclone is self-hosted. To build it, we require the bootstrapped compiler. +(define cyclone-bootstrap + (package + (name "cyclone-bootstrap") + (version "0.36.0") + ;; TODO Use system's libtommath after + ;; https://github.com/justinethier/cyclone/issues/458 is resolved + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/justinethier/cyclone-bootstrap.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0fv0mnrn5shbx77383f4mbkvc4i9yyj1bjm3dfyhipnaqapbhqpi")))) + (inputs (list ck)) + (build-system gnu-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (delete 'configure)) + #:test-target "test" + #:make-flags #~(list "CC=gcc" + (string-append "PREFIX=" + #$output)))) + (home-page "https://github.com/justinethier/cyclone-bootstrap") + (synopsis "Install Cyclone Scheme on your machine.") + (description "Bootstrap the generate the cyclone scheme compiler") + (license expat))) + -- 2.41.0