[PATCH v2 0/3] Waf: Semi-automatic generation of results for cross-answers files
urisimchoni at gmail.com
Mon May 4 01:07:27 MDT 2015
Thanks for reviewing.
On Mon, May 4, 2015 at 5:14 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Mon, 2015-05-04 at 00:38 +0300, Uri Simchoni wrote:
> > This patchset automates the generation of cross-answers file for
> > samba. It takes a different approach than the first version of the patch,
> > namely that instead of cacheing the built tests and run them later in one
> > batch, it runs each test immediately using the cross-execute parameter.
> Thanks for all your efforts on this. To ensure this doesn't bitrot, we
> need a patch to autobuild.py, that uses this new mode, somehow
> cross-compiling Samba for it's own arch.
What I have in mind is as follows (have given it a quick test, seems to
1. Run configure (same params as the configure step in samba build)
2. Run configure again with -b cc_bin --cross-compile
3. Run configure again with -b cc_bin2 --cross-compile
4. Compare the bin/c4che/default.cache.py of run 1 and 3 (with some
sanitizing due to different build path and cross arguments)
identity_cc.sh would simply be:
The remaining question is where to put all this - in the samba task (taking
into consideration that a different configure affects make) or in its own
How does that sound?
> Also, is there any reason why the sample should use telnet, not ssh?
I knew this was coming... :) It's just what I had available on the
particular platform I was developing this for. I suppose I can do ssh.
> Finally, the # comments need some stylistic improvement in the the first
I'll have it pass pep8. anything beyond that?
> Andrew Bartlett
> Andrew Bartlett
> Authentication Developer, Samba Team http://samba.org
> Samba Developer, Catalyst IT
More information about the samba-technical