Salome HOME
Add config files and some code update for compilation of SALOME-7.8.0
[tools/sat.git] / data / patches / scipy-0.14.1.patch
1 diff -rupN scipy-0.14.1_old/scipy/_build_utils/_fortran.py scipy-0.14.1_new/scipy/_build_utils/_fortran.py
2 --- scipy-0.14.1_old/scipy/_build_utils/_fortran.py     2014-11-23 21:41:04.000000000 +0100
3 +++ scipy-0.14.1_new/scipy/_build_utils/_fortran.py     2015-04-02 10:04:31.334629000 +0200
4 @@ -13,11 +13,11 @@ __all__ = ['needs_g77_abi_wrapper', 'spl
5  def uses_veclib(info):
6      if sys.platform != "darwin":
7          return False
8 -    r_accelerate = re.compile("vecLib")
9 -    extra_link_args = info.get('extra_link_args', '')
10 -    for arg in extra_link_args:
11 -        if r_accelerate.search(arg):
12 -            return True
13 +    #r_accelerate = re.compile("vecLib")
14 +    #extra_link_args = info.get('extra_link_args', '')
15 +    #for arg in extra_link_args:
16 +    #    if r_accelerate.search(arg):
17 +    #        return True
18      return False
19  
20  
21 @@ -33,11 +33,11 @@ def uses_accelerate(info):
22  
23  
24  def uses_mkl(info):
25 -    r_mkl = re.compile("mkl_core")
26 -    libraries = info.get('libraries', '')
27 -    for library in libraries:
28 -        if r_mkl.search(library):
29 -            return True
30 +    #r_mkl = re.compile("mkl_core")
31 +    #libraries = info.get('libraries', '')
32 +    #for library in libraries:
33 +    #    if r_mkl.search(library):
34 +    #        return True
35  
36      return False
37