diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-08-06 19:39:45 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-08-06 19:39:45 -0700 |
commit | 981ce2a177aac10f7999cc329c5aefdae853daef (patch) | |
tree | 6ccb22953cf031db43dda29333f9f8bd80c5fb23 /tests/009 | |
parent | bf5a4cbe020b6726e8f9cef4cd935861442541cf (diff) | |
download | txr-981ce2a177aac10f7999cc329c5aefdae853daef.tar.gz txr-981ce2a177aac10f7999cc329c5aefdae853daef.tar.bz2 txr-981ce2a177aac10f7999cc329c5aefdae853daef.zip |
build: speed up bootstrap compilation of stdlib.
The compilation of stdlib from source code (an initial state
when no .tlo files exist obtained by "make clean" or
"make clean-tlo") is very sensitive to the file order.
If the compiler and optimize modules are compiled late,
it slows down the build greatly.
The compiler mainly executes the code in the files
compiler.tl, param.tl, optimize.tl and asm.tl. These
should be compiled first, and I empirically determined
the best order.
* Makefile (STDLIB_EARLY_PATS): Remove error.tlo. The circular
dependency involving error.tl doesn't seem to be an issue
any more. A while ago I addressed some circular dependencies
in stdlib that prevented it from being usable uncompiled;
make tests didn't pass with a source-only stdlib.
We instead repurpose STDLIB_EARLY_PATS to specify the four
modules that should compile first, in their desired order,
at least if parallel make is not being used.
Diffstat (limited to 'tests/009')
0 files changed, 0 insertions, 0 deletions