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

@ -1492,8 +1492,10 @@ AC_CONFIG_FILES([
test-suite/Makefile
test-suite/standalone/Makefile
meta/Makefile
bootstrap/Makefile
module/Makefile
stage0/Makefile
stage1/Makefile
stage2/Makefile
prebuilt/Makefile
prebuilt/x86_64-unknown-linux-gnu/Makefile
prebuilt/i686-pc-linux-gnu/Makefile