diff options
author | eb | 2007-01-13 04:14:56 +0000 |
---|---|---|
committer | eb | 2007-01-13 04:14:56 +0000 |
commit | cbe1628f2eb1a1a3c8b0b96a3b1334a039074def (patch) | |
tree | 1d551091f8eac7c5381990946e6a5183191905b6 /run_tests.sh.in | |
parent | 90347f36e4087cb2136096c9f1f43c0cb629dcb0 (diff) | |
download | gnuradio-cbe1628f2eb1a1a3c8b0b96a3b1334a039074def.tar.gz gnuradio-cbe1628f2eb1a1a3c8b0b96a3b1334a039074def.tar.bz2 gnuradio-cbe1628f2eb1a1a3c8b0b96a3b1334a039074def.zip |
SWIG compilation speedup! Fixes ticket:9.
Merged -r4203:4254 from eb/swig-split into trunk.
This 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.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@4255 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'run_tests.sh.in')
-rw-r--r-- | run_tests.sh.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/run_tests.sh.in b/run_tests.sh.in index 39b35d87e..4e7d69e47 100644 --- a/run_tests.sh.in +++ b/run_tests.sh.in @@ -17,6 +17,9 @@ mypydir=$1/src:$1/src/python grswigdir=@abs_top_builddir@/gnuradio-core/src/lib/swig grswigdir=$grswigdir:$grswigdir/.libs +# Where to find core's hand generated swig glue +grswigsrcdir=@abs_top_srcdir@/gnuradio-core/src/lib/swig + # Where to find core's python modules grpydir=@abs_top_srcdir@/gnuradio-core/src/python @@ -25,7 +28,7 @@ grlibdir=@abs_top_builddir@/gnuradio-core/src/lib grlibdir=$grlibdir:$grlibdir/.libs # Construct search path for python modules -PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grpydir:$PYTHONPATH" +PYTHONPATH="$mylibdir:$mysrcdir:$mypydir:$grswigdir:$grswigsrcdir:$grpydir:$PYTHONPATH" export PYTHONPATH # For OS/X |