Skip to content

Commit

Permalink
fix: gvm home parameter in classic rules
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Gammon <sam@elide.ventures>
  • Loading branch information
sgammon committed Jan 5, 2024
1 parent 8554bf7 commit 41278a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/native_image/classic.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ def _graal_binary_classic_implementation(ctx):
or install a GraalVM `native-image` toolchain.
""")

# resolve graal_home
graalvm_home = graal.dirname

# resolve the native toolchain
native_toolchain = _resolve_cc_toolchain(
ctx,
transitive_inputs,
is_windows = ctx.configuration.host_path_separator == ";",
graalvm_home = graalvm_home,
)

args = ctx.actions.args()
Expand Down

0 comments on commit 41278a4

Please sign in to comment.