From 4ff8fd5462fa1aaafc9b3519dfca0892f01e977e Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sat, 5 Jan 2019 13:23:28 -0700 Subject: BUG: Add 'sparc' to platforms implementing 16 byte reals. This is for the _selected_real_kind_func function in f2py/crackfortran.py --- numpy/f2py/crackfortran.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy') diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py index 2620fc9b7..c4a650585 100755 --- a/numpy/f2py/crackfortran.py +++ b/numpy/f2py/crackfortran.py @@ -2399,7 +2399,7 @@ def _selected_real_kind_func(p, r=0, radix=0): if p < 16: return 8 machine = platform.machine().lower() - if machine.startswith(('aarch64', 'power', 'ppc64', 's390x')): + if machine.startswith(('aarch64', 'power', 'ppc64', 's390x', 'sparc')): if p <= 20: return 16 else: -- cgit v1.2.1