diff options
author | Ludovic Courtès <ludo@gnu.org> | 2009-03-26 19:17:26 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2009-03-26 19:17:26 +0100 |
commit | 7ca96180f00800414a9cf855e5ca4dceb9baca07 (patch) | |
tree | 3307cb76e850551402cd81eef4d8250f5bb670f9 /am | |
parent | 6cc323e2ff4e555d58e115032016a50ef15a1948 (diff) |
Run the stack calibration script before running the compiler.
* am/guilec (.scm.go): Use `pre-inst-guile' and load
`stack-limit-calibration.scm'. This is particularly useful when
building the first `.go' files where the compiler is run using the
interpreter, which may end up using a lot of stack space.
* libguile/Makefile.am (BUILT_SOURCES): Add
`stack-limit-calibration.scm'.
(TESTS, TESTS_ENVIRONMENT): Remove.
(stack-limit-calibration.scm): Prepend `-' so that any errors during
the calibration are ignored.
Diffstat (limited to 'am')
-rw-r--r-- | am/guilec | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,4 +10,6 @@ CLEANFILES = $(GOBJECTS) SUFFIXES = .scm .go .scm.go: $(MKDIR_P) `dirname $@` - $(top_builddir)/pre-inst-guile-env $(top_builddir)/guile-tools compile -o "$@" "$<" + $(top_builddir)/pre-inst-guile \ + -l $(top_builddir)/libguile/stack-limit-calibration.scm \ + $(top_srcdir)/scripts/compile -o "$@" "$<" |