Skip to content

Commit 9dc4b92

Browse files
committed
Fix jt build to use the same JDK for mx graalvm-home
1 parent 1de566b commit 9dc4b92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tool/jt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ def build_graalvm(*options)
18951895
*options]
18961896

18971897
mx(*mx_args, 'build', java_home: java_home)
1898-
build_dir = mx(*mx_args, 'graalvm-home', capture: true).lines.last.chomp
1898+
build_dir = mx(*mx_args, 'graalvm-home', java_home: java_home, capture: true).lines.last.chomp
18991899

19001900
dest = "#{TRUFFLERUBY_DIR}/mxbuild/graalvm"
19011901
FileUtils.rm_rf dest

0 commit comments

Comments
 (0)