[Numpy-discussion] Building a static libnumpy

Stefan van der Walt stefan at sun.ac.za
Tue Jan 22 04:52:21 EST 2008


On Tue, Jan 22, 2008 at 05:12:32PM +0900, David Cournapeau wrote:
> On Jan 22, 2008 3:44 PM, Jussi Enkovaara <jussi.enkovaara at csc.fi> wrote:
> > Hi,
> > I need to use numpy in an environment which does not support shared libraries.
> > Previously, I have used the old Numeric where I created a Makefile to build a
> > static Numeric library which was later on linked to the python interpreter.
> >
> Interesting, did not know it was possible. How did you do it ?
> 
> I am working on an alternative build system for numpy, based on scons,
> and depending on the necessary steps, I could add this feature to the
> build system. scons itself certainly support static libraries, but I
> have never built static python extensions.

I would also be interested in making such a build, since it would
allow profiling using gcov.

Cheers
Stéfan



More information about the NumPy-Discussion mailing list