unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Compiler bootstrapping requirements
@ 2023-01-24  0:10 Robby Zambito
  2023-01-25 16:20 ` Katherine Cox-Buday
  0 siblings, 1 reply; 2+ messages in thread
From: Robby Zambito @ 2023-01-24  0:10 UTC (permalink / raw)
  To: Guix Devel

Hi,

I remember seeing some details about certain compilers not being allowed
in Guix due to having an inadequate bootstrapping process, but I can't
seem to find it right now. I'm looking to write a package for the
Cyclone Scheme[1] implementation. The compiler requires a copy of itself
to build from the main sources, but there is a secondary repository
which includes some C files that normally require a copy of the compiler
to generate. I'm wondering: is the second repository[2] sufficient for
including in Guix?

Footnotes:
[1]  https://justinethier.github.io/cyclone/
[2]  https://github.com/justinethier/cyclone-bootstrap



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compiler bootstrapping requirements
  2023-01-24  0:10 Compiler bootstrapping requirements Robby Zambito
@ 2023-01-25 16:20 ` Katherine Cox-Buday
  0 siblings, 0 replies; 2+ messages in thread
From: Katherine Cox-Buday @ 2023-01-25 16:20 UTC (permalink / raw)
  To: Robby Zambito; +Cc: Guix Devel

Robby Zambito <contact@robbyzambito.me> writes:

> Hi,
>
> I remember seeing some details about certain compilers not being
> allowed in Guix due to having an inadequate bootstrapping process, but
> I can't seem to find it right now. I'm looking to write a package for
> the Cyclone Scheme[1] implementation. The compiler requires a copy of
> itself to build from the main sources, but there is a secondary
> repository which includes some C files that normally require a copy of
> the compiler to generate. I'm wondering: is the second repository[2]
> sufficient for including in Guix?
>
> Footnotes:
> [1]  https://justinethier.github.io/cyclone/
> [2]  https://github.com/justinethier/cyclone-bootstrap

Without having looked at the specifics:

Generally what we do is find an early version of the compiler that was
bootstrapped not using itself, package that, and then use that package
to bootstrap the later versions.

Sometimes that earlier version is never published as the author(s) was
quickly iterating. In that scenario, I don't know what we do.

I hope that helps.

-- 
Katherine


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-25 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24  0:10 Compiler bootstrapping requirements Robby Zambito
2023-01-25 16:20 ` Katherine Cox-Buday

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).