File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
graalpython/com.oracle.graal.python.cext Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 56
56
darwin_native = sys .platform == "darwin" and sys .graal_python_platform_id == "native"
57
57
so_ext = get_config_var ("EXT_SUFFIX" )
58
58
59
+
60
+ if darwin_native :
61
+ get_config_vars ()["LDSHARED" ] = get_config_vars ()['LDSHARED_LINUX' ] + " -L" + sys .graal_python_capi_home + " -lpython." + get_config_vars ()["SOABI" ] + " -rpath '@loader_path/../'"
62
+
63
+
59
64
def system (cmd , msg = "" ):
60
65
logger .debug ("Running command: " + cmd )
61
66
status = os .system (cmd )
@@ -243,7 +248,7 @@ def __call__(self):
243
248
libs .append (dep .lib_name )
244
249
library_dirs .append (dep .lib_install_dir )
245
250
#runtime_library_dirs.append(dep.lib_install_dir)
246
- extra_link_args .append ("-Wl,-rpath," + dep .lib_install_dir )
251
+ # extra_link_args.append("-Wl,-rpath," + dep.lib_install_dir)
247
252
248
253
# If the dependency provides a header file, add the include path
249
254
if dep .include_install_dir :
Original file line number Diff line number Diff line change @@ -182,8 +182,10 @@ def _dev_pythonhome():
182
182
183
183
184
184
def punittest (ars ):
185
- if '--regex' not in ars :
185
+ if not ars :
186
186
args = ['--regex' , r'(graal\.python)|(com\.oracle\.truffle\.tck\.tests)' ]
187
+ else :
188
+ args = []
187
189
args += ["-Dgraal.TruffleCompilationExceptionsAreFatal=false" ,
188
190
"-Dgraal.TruffleCompilationExceptionsArePrinted=true" ,
189
191
"-Dgraal.TrufflePerformanceWarningsAreFatal=false" ]
You can’t perform that action at this time.
0 commit comments