Skip to content

Commit ab91681

Browse files
committed
do not put dists on the classpath that are not built
1 parent bf116f0 commit ab91681

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def do_run_python(args, extra_vm_args=None, env=None, jdk=None, extra_dists=None
496496

497497
if minimal:
498498
x = [x for x in SUITE.dists if x.name == "GRAALPYTHON"][0]
499-
dists = [dep for dep in x.deps if dep.isJavaProject() or dep.isJARDistribution()]
499+
dists = [dep for dep in x.deps if dep.isJavaProject() or dep.isJARDistribution() and dep.exists()]
500500
# Hack: what we should just do is + ['GRAALPYTHON_VERSIONS_MAIN'] and let MX figure out
501501
# the class-path and other VM arguments necessary for it. However, due to a bug in MX,
502502
# LayoutDirDistribution causes an exception if passed to mx.get_runtime_jvm_args,

0 commit comments

Comments
 (0)