[Numpy-discussion] static build

Mike Rovner mrovner at cadence.com
Mon Sep 18 16:29:34 EDT 2006


I need build core numpy (plus possible dft) static into python.a
Can someone point me to the right direction.

Currently I built some libs but blocked on _internal.

 From my Setup.local:

NPSRC=/home/mrovner/src/numpy-0.9.8
NPBLD=$(NPSRC)/build/src.linux-i686-2.4
NPINC=-I$(NPSRC)/numpy/core/include -I$(NPBLD)/numpy/core 
-I$(NPSRC)/numpy/core/src
multiarray $(NPSRC)/numpy/core/src/multiarraymodule.c $(NPINC)
umath $(NPBLD)/numpy/core/src/umathmodule.c $(NPINC)
scalarmath $(NPBLD)/numpy/core/src/scalarmathmodule.c $(NPINC)
_sort $(NPBLD)/numpy/core/src/_sortmodule.c $(NPINC)
_compiled_base $(NPSRC)/numpy/lib/src/_compiled_base.c $(NPINC)

Thanks,
Mike





More information about the NumPy-Discussion mailing list