File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
graalpython/lib-graalpython/modules Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -1193,6 +1193,20 @@ def pandas(**kwargs):
1193
1193
#define __Pyx_sst_abs(value) abs(value)
1194
1194
#elif SIZEOF_LONG >= SIZEOF_SIZE_T
1195
1195
#define __Pyx_sst_abs(value) labs(value)
1196
+ @@ -881,13 +881,7 @@ static const char *__pyx_filename;
1197
+
1198
+ /* Header.proto */
1199
+ #if !defined(CYTHON_CCOMPLEX)
1200
+ - #if defined(__cplusplus)
1201
+ - #define CYTHON_CCOMPLEX 1
1202
+ - #elif defined(_Complex_I)
1203
+ - #define CYTHON_CCOMPLEX 1
1204
+ - #else
1205
+ #define CYTHON_CCOMPLEX 0
1206
+ - #endif
1207
+ #endif
1208
+ #if CYTHON_CCOMPLEX
1209
+ #ifdef __cplusplus
1196
1210
diff --git a/pandas/core/window.py b/pandas/core/window.py
1197
1211
index 8657420..f7b3f08 100644
1198
1212
--- a/pandas/core/window.py
@@ -1208,7 +1222,7 @@ def pandas(**kwargs):
1208
1222
from pandas.util._decorators import Appender, Substitution, cache_readonly
1209
1223
'''
1210
1224
# workaround until Sulong toolchain fixes this
1211
- cflags = "-stdlib=libc++ -lc++ - lm -lc" if sys .implementation .name == "graalpython" else ""
1225
+ cflags = "-stdlib=libc++ -lm -lc" if sys .implementation .name == "graalpython" else ""
1212
1226
install_from_pypi ("pandas==0.25.0" , patch = patch , add_cflags = cflags , ** kwargs )
1213
1227
1214
1228
return locals ()
You can’t perform that action at this time.
0 commit comments