Skip to content

Commit 35b6cd9

Browse files
committed
Download JVMCI to ~/.mx/cache/extra
1 parent d6e56aa commit 35b6cd9

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
@@ -1841,7 +1841,8 @@ def install(name, *options)
18411841
raise 'Installing JVMCI is only available on Linux and macOS currently' unless linux? || darwin?
18421842

18431843
update, jvmci_version = jvmci_update_and_version
1844-
dir = File.expand_path('..', TRUFFLERUBY_DIR)
1844+
dir = File.expand_path('~/.mx/cache/extra')
1845+
FileUtils.mkdir_p(dir) unless Dir.exist?(dir)
18451846
java_home = begin
18461847
dir_pattern = "#{dir}/openjdk1.8.0*#{jvmci_version}"
18471848
if Dir[dir_pattern].empty?

0 commit comments

Comments
 (0)