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

« back to all changes in this revision

Viewing changes to numpy/doc/swig/test/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
# SWIG
 
2
INTERFACES = Array.i Farray.i Vector.i Matrix.i Tensor.i
 
3
WRAPPERS   = $(INTERFACES:.i=_wrap.cxx)
 
4
PROXIES    = $(INTERFACES:.i=.py      )
 
5
 
 
6
# Default target: build the tests
 
7
.PHONY : all
 
8
all: $(WRAPPERS) Array1.cxx Array1.h Farray.cxx Farray.h Vector.cxx Vector.h \
 
9
        Matrix.cxx Matrix.h Tensor.cxx Tensor.h
 
10
        ./setup.py build
 
11
 
 
12
# Test target: run the tests
 
13
.PHONY : test
 
14
test: all
 
15
        python testVector.py
 
16
        python testMatrix.py
 
17
        python testTensor.py
 
18
        python testArray.py
 
19
        python testFarray.py
 
20
 
 
21
# Rule: %.i -> %_wrap.cxx
 
22
%_wrap.cxx: %.i %.h ../numpy.i
 
23
        swig -c++ -python $<
 
24
%_wrap.cxx: %.i %1.h %2.h ../numpy.i
 
25
        swig -c++ -python $<
 
26
 
 
27
# Clean target
 
28
.PHONY : clean
 
29
clean:
 
30
        $(RM) -r build
 
31
        $(RM) $(WRAPPERS)
 
32
        $(RM) $(PROXIES)