summaryrefslogtreecommitdiff
path: root/meta/uninstalled-env.in
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-10-23 13:29:03 +0000
committerAndy Wingo <wingo@pobox.com>2015-10-23 13:29:03 +0000
commit5f4ac529e16f4d8cb6c5df61c5aa47b6384ac98f (patch)
tree4ee090efdf0a4d144d4324e26f486061118d1531 /meta/uninstalled-env.in
parentf169be9fc8c0b8c9a27476b59e683c8dfeea8aa6 (diff)
Use a bootstrapped -O0 compiler to compile the -O2 Guile
This reduces total build time to around 30 minutes or so. * Makefile.am (SUBDIRS): Visit bootstrap/ before module/. * bootstrap/Makefile.am: New file. * configure.ac: Generate bootstrap/Makefile. * meta/uninstalled-env.in (top_builddir): Add bootstrap/ to the GUILE_LOAD_COMPILED_PATH. * module/Makefile.am: Simplify to just sort files in alphabetical order; since bootstrap/ was already compiled, we don't need to try to optimize compilation order. Although the compiler will get faster as more of the compiler itself is optimized, this isn't a significant enough effect to worry about.
Diffstat (limited to 'meta/uninstalled-env.in')
-rw-r--r--meta/uninstalled-env.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/uninstalled-env.in b/meta/uninstalled-env.in
index 567c6e243..f9f0dc78d 100644
--- a/meta/uninstalled-env.in
+++ b/meta/uninstalled-env.in
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright (C) 2003, 2006, 2008, 2009, 2010, 2011, 2012 Free Software Foundation
+# Copyright (C) 2003, 2006, 2008, 2009, 2010, 2011, 2012, 2015 Free Software Foundation
#
# This file is part of GUILE.
#
@@ -84,7 +84,7 @@ then
then
GUILE_LOAD_COMPILED_PATH="${top_builddir}/module:${top_builddir}/guile-readline"
else
- for d in "/module" "/guile-readline"
+ for d in "/module" "/bootstrap" "/guile-readline"
do
# This hair prevents double inclusion.
# The ":" prevents prefix aliasing.