Commit graph

8 commits

Author SHA1 Message Date
David Tardon
547249832d allow leading space 2012-03-23 08:46:37 +01:00
Tor Lillqvist
94d553b2fb Must properly quote also the vars in config_build.mk when sourcing it 2012-03-05 20:55:26 +02:00
Tor Lillqvist
cd2644df49 Don't source config_host.mk as such but put quotes around the variable values
Otherwise lines like:

export CLASSPATH=C:/PROGRA~2/Java/JDK16~2.0_2/jre/lib/rt.jar;.

will cause problems on Windows.
2012-02-10 14:14:21 +02:00
Norbert Thiebaud
909cd34b7b coup de grace for Env.Host.sh and associated files 2012-02-05 19:34:05 -06:00
Norbert Thiebaud
fd9366c85c prep work to eliminated Env.*.sh, introduce config_{host,build}.mk
This introduce config_host.mk and config_build.mk
generated from config_host.mk.in
The intent is for that file to be both sourcable in a shell and includable
in a gnu Makefile.
Eventually all the environment set-up will be in config_host.mk.in
and so there won't be a need to source anything in shell before make.
2011-12-24 21:42:08 -06:00
Norbert Thiebaud
96515464af force the use of gcc on cygwin for concat-deps.c 2011-12-18 05:15:53 -06:00
Norbert Thiebaud
e3e94f141e use a c-version of concat-deps.pl
This touch configure.in with a trivial space removal to force a
./bootstrap on the tinderboxes

This make ./bootstrap build a 'build-side' executable concat-deps
and modify LinkTarget.mk to use it instead of concat-deps.pl

The impact is a conservative x10 times improvement in both elapsed and
cpu time in overhead due to DEP generations.


time make -sr build in tail_build after removing
workdir/$INPATH/Dep/LinkTarget/Library/*

(all on Intel X3360, 2.83GHz, 4-core)

before:
elapsed: 116.5 cpu: 115.9
after
elapsed: 24.3 cpu: 23.9
base (no dep processing, i.e no rm of Dep/...)
elapsed: 17.5 cpu: 17.4
overhead ratio:
elapsed: 14.5x cpu: 15x

same with -j6
before:
elapsed: 47 cpu: 116
after:
elapsed: 20.8 cpu: 24
base:
elapsed: 17.5 cpu: 17.5
overhead ratio:
elapsed: 9x cpu: 15x

Note: for now the executable is generated directly in the source tree
(in solevn/bin ). That is not ideal. It and other similar polution
should be moved, to workdir most likely..
For now we just hide the mess under the .gitignore carpet
2011-12-17 10:54:45 -06:00
Norbert Thiebaud
aa09a9b77d bootstrap.1 is not usefull anymore use bootsrap directly 2011-10-07 15:27:32 -05:00
Renamed from bootstrap.1 (Browse further)