[flext] autotools builders - py/ext
Thomas Grill
gr at grrrr.org
Fri Mar 25 15:39:59 CET 2011
Great!! Many thanks for your efforts! I'll have a look at it on
Wednesday.
By the way, do you know how to integrate the autoconf scripts into the
pd-extended build system?
all the best, gr~~~
Am 25.03.2011 um 15:35 schrieb dmotd:
> attached is a patch (svn diff) to add autotools support for py/
> pyext.. it's a revised, edited and ammended version of the script
> set from pool, which adds install directives for data/documentation
> and makes a few changes to the configuration flags.
>
> the relevant flags are follows:
> ---
> --enable-flext-host host environment for flext [default=pd]
> --with-pd-headers path to pd headers
> --with-pd-libdir pd external install search path [typically
> PDPATH/extra]
> --with-max-headers path to max SDK headers
> --with-max-initdir install path for max init files
> --with-max-helpdir install path for max help files
> --with-max-libdir install path for max objects and libraries
> --with-flext-headers path to the flext headers
> [default=PREFIX/include/flext]
> --with-flext-libs path to the flext libraries [default=PREFIX/
> lib]
> --with-numarray-headers path to the numarray headers
> --with-numeric-headers path to the numeric headers
> --with-numpy-headers path to the numpy headers
> --enable-gil use thread-safe GIL functionality [for >=
> python2.3]
> [default=no]
> --enable-inofficial use inofficial pure data functionality
> [default=no]
> ---
>
> i've tried to make some of the labels a little less ambiguous,
> separated max and pd flags, and removed the need for --libdir as an
> install location (--libdir is not very flexible with autotools when
> installing to non-standard locations, in fact libtool itself is a
> bit strict with a lot of things and doesn't have much builtin scope
> for plugin architectures - read headaches).
>
> in terms of internals, it should detect python and its headers,
> detect the installed buffer support - for numpy it should find its
> include path, numarray will do a dumb guess and numeric - well
> numeric doesn't seem to be setup in pybuffer.cpp (is that a
> mistake?). there are safeguards/warnings and all that other
> necessary autostuff.
>
> i've tested this on a couple of linux machines and nothing else, but
> it should be ready for other platforms.
>
> i look forward to test results/changes and if things seem positive
> i'll start work on the other libs in the grrrr set and beyond that
> make a template for other projects using flext. hopefully this will
> be enough to get flext libs packaged up in some of the popular linux
> distros (i work with archlinux here and maintain pd packages for it
> so that'll be a given).
>
> cheers,
> dmotd
>
> <py-autotools-r3745.patch>
More information about the flext
mailing list