[Cython] Fwd: Re: Cython builds on various Debian platforms

Stefan Behnel stefan_ml at behnel.de
Wed Feb 16 07:09:50 CET 2011


[forwarding to the list, from Yaroslav Halchenko]

Hi,

I am a member of Python Applications Packaging Team in Debian.  So now me,
later some other members could chime in to provide fresh uploads.

On Tue, 15 Feb 2011, Stefan Behnel wrote:
> Cool. That looks good. As you mentioned, it doesn't include the test
> runs yet, but it would be really great if you could get those
> running.

great to hear to be on the same page ;) the only additional concern I see is
the duration -- it might torture build boxes for old/exotic architectures quite
a bit... there are no timeouts (like with ctest platform -- got bitten by them
a few times already) among your tests, aren't there? (just want to make
sure)

> I am a bit surprised that each platform compiles the Cython modules
> several times according to the logs. Is that intended?

should build once per each supported python version (currently 2.5 and 2.6) and
for debug builds of those supported versions... looking into the log, indeed
building seems to be invoked twice though -- I guess my fault with

build/cython.1: build

where build is a PHONY. I will look into it for the next
upload:

$> wget -O- -q 
https://buildd.debian.org/fetch.cgi\?pkg\=cython\;ver\=0.14.1-1\;arch\=hurd-i386\;stamp\=1297731063 
| grep -B2 -A2 setup.py
for buildver in 2.5 2.6; do \
         cd /build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1 
&& cd . && \
             python$buildver setup.py clean \
             -a; \
     done
--
set -e; for buildver in 2.5 2.6; do \
         cd /build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1 
&& cd . && \
             python$buildver setup.py build \
 
--build-base="/build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1/./build"; 
\
     done
--
set -e; for buildver in 2.5 2.6; do \
         cd /build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1 
&& cd . && \
             python$buildver setup.py build \
 
--build-base="/build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1/./build"; 
\
     done
--
set -e; for buildver in 2.5 2.6; do \
         cd /build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1 
&& cd . && \
             python$buildver setup.py install \
 
--root="/build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1/debian/cython" 
\
             --install-purelib=/usr/lib/python$buildver/site-packages/ \
--
dh_installdirs -pcython-dbg
for i in 2.5 2.6; do \
       python$i-dbg ./setup.py install --prefix=/usr --no-compile -O0 \
          --root 
/build/buildd-cython_0.14.1-1-hurd-i386-fJZAFo/cython-0.14.1/debian/cython-dbg; 
\
     done




-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic


More information about the cython-devel mailing list