Skip to content

Commit 0948750

Browse files
committed
Build a JVM standalone without the graal compiler if dev is true
* To iterate faster when developing locally.
1 parent d9c7c12 commit 0948750

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,10 @@ def graalpy_standalone_home(standalone_type, enterprise=False, dev=False, build=
635635

636636
# Build
637637
if standalone_type == 'jvm':
638-
env_file = 'jvm-ee-libgraal' if enterprise else 'jvm-ce-libgraal'
638+
if dev:
639+
env_file = 'jvm'
640+
else:
641+
env_file = 'jvm-ee-libgraal' if enterprise else 'jvm-ce-libgraal'
639642
standalone_dist = 'GRAALPY_JVM_STANDALONE'
640643
if "GraalVM" in subprocess.check_output([get_jdk().java, '-version'], stderr=subprocess.STDOUT, universal_newlines=True):
641644
env_file = ""

0 commit comments

Comments
 (0)