Attachment 'numpy-1.2.0.p0.patch'
Download 1 --- numpy-1.2.0.p0/patches/__init__.py~ 2008-09-26 14:02:13.000000000 +1000
2 +++ numpy-1.2.0.p0/patches/__init__.py 2009-03-09 21:38:51.369170316 +1100
3 @@ -173,7 +173,7 @@
4 # gnu95 compiler type when there are F90 sources.
5 suggested_f90_compiler = None
6
7 - compile_switch = "-c"
8 + compile_switch = "-c -fPIC"
9 object_switch = "-o " # Ending space matters! It will be stripped
10 # but if it is missing then object_switch
11 # will be prefixed to object file name by
12 @@ -686,6 +686,7 @@
13 ('linux.*', ('sage_fortran','gnu','intel','lahey','pg','absoft','nag','vast','compaq',
14 'intele','intelem','gnu95','g95')),
15 ('darwin.*', ('sage_fortran','nag', 'absoft', 'ibm', 'intel', 'gnu', 'gnu95', 'g95')),
16 + ('freebsd.*', ('sage_fortran','gnu','gnu95','g95')),
17 ('sunos.*', ('sage_fortran','sun','gnu','gnu95','g95')),
18 ('irix.*', ('mips','gnu','gnu95',)),
19 ('aix.*', ('ibm','gnu','gnu95',)),
20 --- numpy-1.2.0.p0/src/numpy/distutils/system_info.py~ 2008-09-26 09:10:02.000000000 +1000
21 +++ numpy-1.2.0.p0/src/numpy/distutils/system_info.py 2009-03-11 05:21:41.081498204 +1100
22 @@ -853,12 +853,8 @@
23 section = 'atlas'
24 dir_env_var = 'ATLAS'
25 _lib_names = ['f77blas','cblas']
26 - if sys.platform[:7]=='freebsd':
27 - _lib_atlas = ['atlas_r']
28 - _lib_lapack = ['alapack_r']
29 - else:
30 - _lib_atlas = ['atlas']
31 - _lib_lapack = ['lapack']
32 + _lib_atlas = ['atlas']
33 + _lib_lapack = ['lapack']
34
35 notfounderror = AtlasNotFoundError
36
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.