discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] SWIG compilation speedup!


From: Eric Blossom
Subject: [Discuss-gnuradio] SWIG compilation speedup!
Date: Fri, 12 Jan 2007 20:35:09 -0800
User-agent: Mutt/1.5.9i

I've just checked code into the trunk that speeds up compilation of
the swig generated code, as well as reducing the number of
dependencies for each piece.

-r4255 refactors gnuradio_swig_python.{cc,py} into 5 separate .so's
These correspond to the runtime, general, filter and io directories,
and also includes a new directory, gengen. gengen contains that part
of general that was machine generated. This split is arbitrary, but
was useful for getting size of the swig generated glue code for
general down to about 2MB.

In addition, the swig glue is now compiled with -g1 -O1 instead of
-g -O2. With this change all the swig code now compiles in about 60%
of the time that it used to take. 


Packagers, please note that there are now 5 SWIG generated .so's and
.py's in gnuradio-core that replace the previous 1 
(gnuradio_swig_python.{so,py})

Eric




reply via email to

[Prev in Thread] Current Thread [Next in Thread]