Skip to content

Commit 15194dc

Browse files
committed
Switch to JVMCI_HOME to find JVMCI in development
* JAVA_HOME could be set to a non-JVMCI JDK.
1 parent 4e301a7 commit 15194dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tool/jt.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,6 +584,7 @@ def help
584584
GRAAL_HOME Directory where there is a built checkout of the Graal compiler (make sure mx is on your path)
585585
JVMCI_BIN JVMCI-enabled java command (also set JVMCI_GRAAL_HOME)
586586
JVMCI_GRAAL_HOME Like GRAAL_HOME, but only used for the JARs to run with JVMCI_BIN
587+
JVMCI_HOME Path to the JVMCI JDK used for building GraalVM
587588
OPENSSL_PREFIX Where to find OpenSSL headers and libraries
588589
AOT_BIN TruffleRuby/SVM executable
589590
TXT
@@ -1944,7 +1945,7 @@ def install_graal(*options)
19441945
end
19451946

19461947
def build_graalvm(*options)
1947-
java_home = ENV["CI"] ? nil : ENV["JAVA_HOME"] || install_jvmci
1948+
java_home = ENV["CI"] ? nil : ENV["JVMCI_HOME"] || install_jvmci
19481949
graal = checkout_or_update_graal_repo(sforceimports: false)
19491950

19501951
mx_args = %w[--dynamicimports truffleruby]

0 commit comments

Comments
 (0)