Skip to content

Commit 95ba6fb

Browse files
committed
Fix: Implement workaround for llvm home directory layout problem.
1 parent e63af21 commit 95ba6fb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,8 @@ def do_run_python(args, extra_vm_args=None, env=None, jdk=None, **kwargs):
123123
dists.append('SULONG')
124124
if mx.suite("sulong-managed", fatalIfMissing=False):
125125
dists.append('SULONG_MANAGED')
126-
graalpython_args.insert(0, mx_subst.path_substitutions.substitute('--llvm.libraryPath=<path:SULONG_MANAGED_LIBS>'))
127-
else:
128-
graalpython_args.insert(0, mx_subst.path_substitutions.substitute('--llvm.libraryPath=<path:SULONG_LIBS>'))
126+
# TODO Remove this as soon as the llvm home directory layout problem is solved.
127+
vm_args += [mx_subst.path_substitutions.substitute('-Dpolyglot.llvm.libraryPath=<path:SULONG_LIBS>')]
129128

130129
graalpython_args.insert(0, '--experimental-options=true')
131130

0 commit comments

Comments
 (0)