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

« back to all changes in this revision

Viewing changes to numpy/distutils/fcompiler/nag.py

  • 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
 
import os
2
1
import sys
3
 
 
4
 
from numpy.distutils.cpuinfo import cpu
5
2
from numpy.distutils.fcompiler import FCompiler
6
3
 
 
4
compilers = ['NAGFCompiler']
 
5
 
7
6
class NAGFCompiler(FCompiler):
8
7
 
9
8
    compiler_type = 'nag'
 
9
    description = 'NAGWare Fortran 95 Compiler'
10
10
    version_pattern =  r'NAGWare Fortran 95 compiler Release (?P<version>[^\s]*)'
11
11
 
12
12
    executables = {
13
 
        'version_cmd'  : ["f95", "-V"],
 
13
        'version_cmd'  : ["<F90>", "-V"],
14
14
        'compiler_f77' : ["f95", "-fixed"],
15
15
        'compiler_fix' : ["f95", "-fixed"],
16
16
        'compiler_f90' : ["f95"],
17
 
        'linker_so'    : ["f95"],
 
17
        'linker_so'    : ["<F90>"],
18
18
        'archiver'     : ["ar", "-cr"],
19
19
        'ranlib'       : ["ranlib"]
20
20
        }