Skip to content

Commit

Permalink
[JVM] Eliminate references to xz from the move to lz4
Browse files Browse the repository at this point in the history
usev6++
  • Loading branch information
Kaiepi committed Oct 22, 2022
1 parent 6b009db commit dff4850
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/build/install-jvm-runner.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ if ($^O eq 'MSWin32') {
open my $fh, ">", $install_to
or die "Could not open $install_to: $!";
print $fh '@java -Xss1m -Xmx1324m -Xbootclasspath/a:' . $jar_dir . '\\nqp-runtime.jar;' .
"$jar_dir\\@asmfile@;$jar_dir\\@jlinefile@;$jar_dir\\@jnafile@;$jar_dir\\@jnaplatformfile@;$jar_dir\\@xzfile@;$lib_dir\\nqp.jar -cp $lib_dir nqp %*\n";
"$jar_dir\\@asmfile@;$jar_dir\\@jlinefile@;$jar_dir\\@jnafile@;$jar_dir\\@jnaplatformfile@;$jar_dir\\@lz4file@;$lib_dir\\nqp.jar -cp $lib_dir nqp %*\n";
close $fh
or die "Could not close $install_to: $!";
}
else {
my $nqp_dir = File::Spec->catfile($prefix, qw/share nqp/);
my $jar_dir = File::Spec->catfile('${NQP_DIR}', 'runtime');
my $lib_dir = File::Spec->catfile('${NQP_DIR}', 'lib');
my $jars = "$jar_dir/nqp-runtime.jar:$jar_dir/@asmfile@:$jar_dir/@jlinefile@:$jar_dir/@jnafile@:$jar_dir/@jnaplatformfile@:$jar_dir/@xzfile@:$lib_dir/nqp.jar";
my $jars = "$jar_dir/nqp-runtime.jar:$jar_dir/@asmfile@:$jar_dir/@jlinefile@:$jar_dir/@jnafile@:$jar_dir/@jnaplatformfile@:$jar_dir/@lz4file@:$lib_dir/nqp.jar";
my $install_to = File::Spec->catfile($realpath, 'bin', 'nqp-j');

open my $fh, ">", $install_to
Expand Down

0 comments on commit dff4850

Please sign in to comment.