1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Rework bootstrap to be reproducible

* configure.ac:
* Makefile.am (SUBDIRS): Replace bootstrap/ with stage0, stage1, and
stage2.
* am/bootstrap.am: Include all files and all rules.
* meta/build-env.in (GUILE_AUTO_COMPILE): Always turn off
auto-compilation.  Take a GUILE_BOOTSTRAP_STAGE argument, which can be
stage0, stage1, stage2, or unset.  Adapt the load-compiled path
accordingly.
* meta/uninstalled-env.in: Include .go files from stage2.
* module/Makefile.am: Rework to use boostrap.am.
* module/system/base/optimize.scm (available-optimizations): Punt the
inlinable-exports machinery to -O2.
* stage0/Makefile.am:
* stage1/Makefile.am:
* stage2/Makefile.am: New files.
This commit is contained in:
Andy Wingo 2022-02-01 12:13:13 +01:00
parent 6ed66f42cb
commit 9b9149a5bf
10 changed files with 474 additions and 480 deletions

View file

@ -2,7 +2,7 @@
##
## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2006, 2007,
## 2008, 2009, 2010, 2011, 2012, 2013,
## 2014, 2015, 2016 Free Software Foundation, Inc.
## 2014, 2015, 2016, 2022 Free Software Foundation, Inc.
##
## This file is part of GUILE.
##
@ -30,8 +30,10 @@ SUBDIRS = \
lib \
meta \
libguile \
bootstrap \
module \
stage0 \
stage1 \
stage2 \
guile-readline \
examples \
emacs \