Skip to content

Commit 75ef574

Browse files
committed
Update Numpy patch.
1 parent bf7c8ce commit 75ef574

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

graalpython/lib-graalpython/modules/ginstall.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,20 @@ def get_lapack_lite_sources(ext, build_dir):
11251125
'console_scripts': f2py_cmds
11261126
},
11271127
1128+
diff --git a/numpy/distutils/ccompiler.py b/numpy/distutils/ccompiler.py
1129+
index 14451fa..85e64cc 100644
1130+
--- a/numpy/distutils/ccompiler.py
1131+
+++ b/numpy/distutils/ccompiler.py
1132+
@@ -682,7 +682,7 @@ def CCompiler_cxx_compiler(self):
1133+
return self
1134+
1135+
cxx = copy(self)
1136+
- cxx.compiler_so = [cxx.compiler_cxx[0]] + cxx.compiler_so[1:]
1137+
+ cxx.compiler_so = cxx.compiler_cxx + cxx.compiler_so[1:]
1138+
if sys.platform.startswith('aix') and 'ld_so_aix' in cxx.linker_so[0]:
1139+
# AIX needs the ld_so_aix script included with Python
1140+
cxx.linker_so = [cxx.linker_so[0], cxx.compiler_cxx[0]] \
1141+
11281142
'''
11291143
install_from_pypi("numpy==1.16.4", patch=patch, env={"NPY_NUM_BUILD_JOBS": "1"}, **kwargs)
11301144

0 commit comments

Comments
 (0)