@@ -1125,8 +1125,22 @@ def get_lapack_lite_sources(ext, build_dir):
1125
1125
'console_scripts': f2py_cmds
1126
1126
},
1127
1127
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
+
1128
1142
'''
1129
- install_from_pypi ("numpy==1.16.4" , patch = patch , env = {"NPY_NUM_BUILD_JOBS" : "1" })
1143
+ install_from_pypi ("numpy==1.16.4" , patch = patch , env = {"NPY_NUM_BUILD_JOBS" : "1" }, ** kwargs )
1130
1144
1131
1145
@pip_package ()
1132
1146
def dateutil (** kwargs ):
@@ -1193,6 +1207,20 @@ def pandas(**kwargs):
1193
1207
#define __Pyx_sst_abs(value) abs(value)
1194
1208
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
1195
1209
#define __Pyx_sst_abs(value) labs(value)
1210
+ @@ -881,13 +881,7 @@ static const char *__pyx_filename;
1211
+
1212
+ /* Header.proto */
1213
+ #if !defined(CYTHON_CCOMPLEX)
1214
+ - #if defined(__cplusplus)
1215
+ - #define CYTHON_CCOMPLEX 1
1216
+ - #elif defined(_Complex_I)
1217
+ - #define CYTHON_CCOMPLEX 1
1218
+ - #else
1219
+ #define CYTHON_CCOMPLEX 0
1220
+ - #endif
1221
+ #endif
1222
+ #if CYTHON_CCOMPLEX
1223
+ #ifdef __cplusplus
1196
1224
diff --git a/pandas/core/window.py b/pandas/core/window.py
1197
1225
index 8657420..f7b3f08 100644
1198
1226
--- a/pandas/core/window.py
@@ -1208,7 +1236,7 @@ def pandas(**kwargs):
1208
1236
from pandas.util._decorators import Appender, Substitution, cache_readonly
1209
1237
'''
1210
1238
# workaround until Sulong toolchain fixes this
1211
- cflags = "-stdlib=libc++ -lc++ - lm -lc" if sys .implementation .name == "graalpython" else ""
1239
+ cflags = "-stdlib=libc++ -lm -lc" if sys .implementation .name == "graalpython" else ""
1212
1240
install_from_pypi ("pandas==0.25.0" , patch = patch , add_cflags = cflags , ** kwargs )
1213
1241
1214
1242
return locals ()
0 commit comments