Lisandro Dalcin, 18.05.2010 19:45:
> Sorry, could you point me to some docs about this infrastructure? Or
> examples of some build that depends on external libraries? I'm a bit
> lost about this.

I'm not saying that this is the perfect solution, but what I do for the 
lxml builds (or the libxml2/libxslt libraries respectively) is this:

   configure --prefix=$WORKSPACE/installroot ...
   make -j8 & make install

Then, fix the absolute paths in the installed bin/*-config scripts to point 
to the "$WORKSPACE" variable instead of the absolute path, and tar-gz the 
installroot directory. In the job config, let Hudson know that the archive 
is the result so that it can archive it.

In another build job, copy over the archived tar-gz and unpack it. 
Configure Hudson to fingerprint it so that it knows that this file was 
reused in the current job. Then, use the bin/*-config scripts to configure 
the setup.py script. Either use an absolute rpath during the build, or set 
LD_LIBRARY_PATH appropriately at runtime. VoilĂ .

Since you can't currently change the config yourself, I can set this up if 
you can send me a script that exercises a build using such an archive.

Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to