~jtaylor/ubuntu/precise/python-numpy/multiarch-fix-818867

« back to all changes in this revision

Viewing changes to numpy/doc/cython/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Ondrej Certik, Riku Voipio, Tiziano Zito, Carlos Galisteo, Ondrej Certik
  • Date: 2008-07-08 15:08:16 UTC
  • mfrom: (0.1.21 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080708150816-ekf992jcp2k1eua3
Tags: 1:1.1.0-3
[ Riku Voipio ]
* debian/control: atlas is not available on armel, and after a quick look
  neither on alpha. I'd also suggest dropping
  libatlas-sse-dev|libatlas-sse2-dev|libatlas-3dnow-dev alternative combo
  away, these are potentially dangerous on buildd's. Ondrej: dropped.
  (Closes: #489568)

[ Tiziano Zito ]
* patch: build _dotblas.c when ATLAS is not installed, build-conflict with
  atlas, build-depend on blas+lapack only, as it used to be (Closes: #489726)

[ Carlos Galisteo ]
* debian/control
  - Added Homepage field.

[ Ondrej Certik ]
* Checked the package on i386 and amd64, both with and without atlas, all
  tests run and the numpy package is faster if atlas is around. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Simple makefile to quickly access handy build commands for Cython extension
 
2
# code generation.  Note that the actual code to produce the extension lives in
 
3
# the setup.py file, this Makefile is just meant as a command
 
4
# convenience/reminder while doing development.
 
5
 
 
6
help:
 
7
        @echo "Numpy/Cython tasks.  Available tasks:"
 
8
        @echo "ext  -> build the Cython extension module."
 
9
        @echo "html -> create annotated HTML from the .pyx sources"
 
10
        @echo "test -> run a simple test demo."
 
11
        @echo "all  -> Call ext, html and finally test."
 
12
 
 
13
all: ext html test
 
14
 
 
15
ext: numpyx.so
 
16
 
 
17
test:   ext
 
18
        python run_test.py
 
19
 
 
20
html: numpyx.pyx.html
 
21
 
 
22
numpyx.so: numpyx.pyx numpyx.c
 
23
        python setup.py build_ext --inplace
 
24
 
 
25
numpyx.pyx.html: numpyx.pyx
 
26
        cython -a numpyx.pyx
 
27
        @echo "Annotated HTML of the C code generated in numpy.pyx.html"
 
28
 
 
29
# Phony targets for cleanup and similar uses
 
30
 
 
31
.PHONY: clean
 
32
clean:
 
33
        rm -rf *~ *.so *.c *.o *.html build
 
34
 
 
35
# Suffix rules
 
36
%.c : %.pyx
 
37
        cython $<