On 11/02/10 01:23, Marc Weber wrote:
[...]
Does a simple buildfarm exists which builds Vim in various configuration
options doing some sanity checks?
Marc Weber
It's easy to construct one, but only on Unix-like systems, including
Unix-like Cygwin and (IIUC) Mac OS X. Not on native-Windows AFAIK,
because the configure script doesn't run on that platform. I guess you
(Marc) know the following but I'm spelling it out for anyone interested:
0) Get the source.
1) Make as many "shadow" subdirectories of src/ as you want different
configurations, using "make shadow" with src/Makefile; after each pass,
rename src/shadow (or comment away the Makefile line "SHADOWDIR =
shadow" and define SHADOWDIR differently yourself for each run of "make
shadow").
2) Construct shell include scripts (let's call them
src/$SHADOWDIR/config.sh) similar to the one near the top of my howto
page http://users/.skynet.be/antoine.mechelynck/vim/compunix.htm , one
per configuration with the desired settings.
-- For some particularly "unusual" configurations, you may have to break
the softlink for feature.h and comment or uncomment some of its lines
differently in different shadowdirs.
3) In each shadowdir:
source config.sh
make && make test
Notes:
* Run the above in a different shell for each shadowdir to avoid stray
environment variables carrying over from one run to the next. You may
run them in parallel if you want (and if your machine has the resources
to make it useful).
* config.sh must be sourced, not run, because its purpose is to modify
the environment: it must NOT be run in a subshell.
* "make" runs configure implicitly if auto/config.cache doesn't exist;
if you changed the config.sh or the installed software, use "make
reconfig" instead (or precede "make" by rm -vf auto/config.cache or by
make distclean) to force a configure pass followed by a full compile.
* "make test" is supposed to run a number of post-compile sanity checks
on the newly produced executable. I haven't tried it yet. Pre-compile
sanity checks (on your software environment and configuration settings)
are done by configure.
Best regards,
Tony.
--
TALL KNIGHT: We shall say Ni! again to you if you do not appease us.
ARTHUR: All right! What do you want?
TALL KNIGHT: We want ... a shrubbery!
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
To unsubscribe, reply using "remove me" as the subject.