From: Christopher Baines <mail@cbaines.net>
To: TakeV <takev@disroot.org>
Cc: control@debbugs.gnu.org, 69552@debbugs.gnu.org
Subject: [bug#69552] [PATCH vREVISION 1/2] gnu: Add cyclone-bootstrap.
Date: Wed, 13 Mar 2024 12:12:42 +0000 [thread overview]
Message-ID: <87y1amuxtc.fsf@cbaines.net> (raw)
In-Reply-To: <9e15650dea41ee388dbbb01bf09c59758a0e34f4.1709769419.git.takev@disroot.org>
[-- Attachment #1: Type: text/plain, Size: 2415 bytes --]
tags 69552 + moreinfo
user guix
usertag 69552 - reviewed-looks-good
quit
TakeV via Guix-patches via <guix-patches@gnu.org> writes:
> * gnu/packages/scheme.scm (cyclone-bootstrap): New variable.
>
> Change-Id: I85d37ebc48882d4b830ef34851ae6d37ecf2e6e5
> ---
> gnu/packages/scheme.scm | 41 +++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 41 insertions(+)
>
> diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
> index ad06d7db06..e0151e954c 100644
> --- a/gnu/packages/scheme.scm
> +++ b/gnu/packages/scheme.scm
> @@ -23,6 +23,7 @@
> ;;; Copyright © 2023 Andrew Whatson <whatson@tailcall.au>
> ;;; Copyright © 2023 Juliana Sims <juli@incana.org>
> ;;; Copyright © 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
> +;;; Copyright © 2024 TakeV <takev@disroot.org>
> ;;;
> ;;; 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,42 @@ (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 bootstrap 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"))))
I've had a look at this and I'm concerned about the bootstrapping
approach. If you look at cyclone.c, I'm pretty sure that's not the
preferred form for editing and it doesn't look like that from the
commits.
Maybe there are things already in Guix that are similarly bad, but I
don't think that alone is sufficient to include more.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]
next prev parent reply other threads:[~2024-03-13 12:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-04 19:29 [bug#69552] [PATCH 0/2] Add cyclone scheme TakeV via Guix-patches via
2024-03-04 19:32 ` [bug#69552] [PATCH 1/2] gnu: Add cyclone-bootstrap TakeV via Guix-patches via
2024-03-04 19:32 ` [bug#69552] [PATCH 2/2] gnu: Add cyclone TakeV via Guix-patches via
2024-03-04 22:29 ` Juliana Sims
2024-03-06 23:56 ` [bug#69552] [PATCH vREVISION 1/2] gnu: Add cyclone-bootstrap TakeV via Guix-patches via
2024-03-06 23:56 ` [bug#69552] [PATCH vREVISION 2/2] gnu: Add cyclone TakeV via Guix-patches via
2024-03-13 12:12 ` Christopher Baines [this message]
2024-03-13 12:32 ` [bug#69552] [PATCH vREVISION 1/2] gnu: Add cyclone-bootstrap TakeV via Guix-patches via
2024-03-13 12:45 ` Christopher Baines
2024-03-13 14:17 ` TakeV via Guix-patches via
2024-03-13 14:42 ` Christopher Baines
2024-03-07 22:20 ` [bug#69552] [PATCH vREVISION 2/2] gnu: Add cyclone Juliana Sims via Guix-patches via
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1amuxtc.fsf@cbaines.net \
--to=mail@cbaines.net \
--cc=69552@debbugs.gnu.org \
--cc=control@debbugs.gnu.org \
--cc=takev@disroot.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).