diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch')
-rw-r--r-- | var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch index b4acdb5c84..83f2be5d82 100644 --- a/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch +++ b/var/spack/repos/builtin/packages/py-numpy/add_fj_compiler4.patch @@ -1,13 +1,13 @@ -diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutils/fcompiler/fj.py ---- spack-src.org/numpy/distutils/fcompiler/fj.py 1970-01-01 09:00:00.000000000 +0900 -+++ spack-src/numpy/distutils/fcompiler/fj.py 2020-11-16 18:42:47.672297372 +0900 +diff -urN spack-src.org/numpy/distutils/fcompiler/fujitsu.py spack-src/numpy/distutils/fcompiler/fujitsu.py +--- spack-src.org/numpy/distutils/fcompiler/fujitsu.py 1970-01-01 09:00:00.000000000 +0900 ++++ spack-src/numpy/distutils/fcompiler/fujitsu.py 2020-11-16 18:42:47.672297372 +0900 @@ -0,0 +1,40 @@ +from numpy.distutils.fcompiler import FCompiler + -+compilers = ['FJFCompiler'] ++compilers = ['FujitsuFCompiler'] + -+class FJFCompiler(FCompiler): -+ compiler_type = 'fj' ++class FujitsuFCompiler(FCompiler): ++ compiler_type = 'fujitsu' + description = 'Fujitsu Fortran Compiler' + + possible_executables = ['frt'] @@ -41,7 +41,7 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/fj.py spack-src/numpy/distutil + from distutils import log + from numpy.distutils import customized_fcompiler + log.set_verbosity(2) -+ print(customized_fcompiler('fj').get_version()) ++ print(customized_fcompiler('fujitsu').get_version()) diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/distutils/fcompiler/__init__.py --- spack-src.org/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:43:18.112443626 +0900 +++ spack-src/numpy/distutils/fcompiler/__init__.py 2020-11-16 18:44:54.062904636 +0900 @@ -50,7 +50,7 @@ diff -urN spack-src.org/numpy/distutils/fcompiler/__init__.py spack-src/numpy/di ('cygwin.*', ('gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95')), ('linux.*', ('gnu95', 'intel', 'lahey', 'pg', 'absoft', 'nag', 'vast', 'compaq', - 'intele', 'intelem', 'gnu', 'g95', 'pathf95')), -+ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'fj')), ++ 'intele', 'intelem', 'gnu', 'g95', 'pathf95', 'fujitsu')), ('darwin.*', ('gnu95', 'nag', 'absoft', 'ibm', 'intel', 'gnu', 'g95', 'pg')), ('sunos.*', ('sun', 'gnu', 'gnu95', 'g95')), ('irix.*', ('mips', 'gnu', 'gnu95',)), |