[PATCH STABLE] setup: fix build_hgexe for mingw32 compiler

Patrick Mézard patrick at mezard.eu
Sat Jul 28 10:46:23 CDT 2012


Le 25/07/12 16:50, Adrian Buehlmann a écrit :
> # HG changeset patch
> # User Adrian Buehlmann <adrian at cadifra.com>
> # Date 1343227822 -7200
> # Branch stable
> # Node ID 450330d3276f34576b98fd2d940c257f4bdef73b
> # Parent  ffc49100151b68c0bcd061b900d9993e9e1a0d7d
> setup: fix build_hgexe for mingw32 compiler
> 
> Fixes
> 
>   python setup.py build_hgexe -i --compiler=mingw32

This is not exactly related to this patch but to exewrapper, but I would like to mention we had to tweak the existing Windows buildbot setup to have it run with exewrapper. The errors were:

  http://hgbuildbot.kublai.com/builders/Windows%202008%20R2%20hg%20tests%20(stable)/builds/94/steps/run-tests.py%20(python2.6)/logs/stdio

and the fix was to explicitely set $PYTHONHOME to the python interpreter used to build and run the tests. I do not know why PYTHONHOME helped here as the referenced python interpreter was already the first in $PATH (there is at least another global one installed on the box), but it helped.

Is it the symptom of possible problems with exewrapper or the test suite, I do not know.

--
Patrick Mézard



More information about the Mercurial-devel mailing list