Skip to content

Commit

Permalink
fix: integration tests, toolchain cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sgammon committed Aug 19, 2023
1 parent b77fcb8 commit 0b767ed
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
1 change: 0 additions & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import %workspace%/tools/bazel/java.bazelrc
common --color=auto

build --worker_sandboxing
build --spawn_strategy=worker,sandboxed,local
build --verbose_failures

# pick something trivial as a "noop"
Expand Down
4 changes: 2 additions & 2 deletions example/integration_tests/bzlmod/MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions example/integration_tests/bzlmod/sample/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ native_image(
name = "main-native",
main_class = "Main",
deps = [":java"],
native_image_tool = "@graalvm//:native-image",
)

alias(
Expand Down
1 change: 1 addition & 0 deletions example/integration_tests/workspace/sample/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ native_image(
name = "main-native",
main_class = "Main",
deps = [":java"],
native_image_tool = "@graalvm//:native-image",
)

alias(
Expand Down
2 changes: 1 addition & 1 deletion graalvm/nativeimage/rules.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ load(

_RULES_REPO = "@rules_graalvm"

_NATIVE_IMAGE_TOOLCHAIN_TYPE = "%s//graalvm/toolchain/native_image:toolchain_type" % _RULES_REPO
_NATIVE_IMAGE_TOOLCHAIN_TYPE = "%s//graalvm/toolchain" % _RULES_REPO
_BAZEL_CPP_TOOLCHAIN_TYPE = "@bazel_tools//tools/cpp:toolchain_type"
_BAZEL_CURRENT_CPP_TOOLCHAIN = "@bazel_tools//tools/cpp:current_cc_toolchain"

Expand Down
2 changes: 1 addition & 1 deletion graalvm/toolchain/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ package(default_visibility = ["//visibility:public"])
# Describes a regular GraalVM toolchain; this type is satisfied by either GraalVM Community Edition
# or a distribution of Oracle GraalVM.
alias(
name = "graalvm",
name = "toolchain",
actual = "//graalvm/toolchain/gvm:toolchain_type",
)
1 change: 1 addition & 0 deletions tools/bazel/labs.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ build:labs --experimental_use_windows_sandbox=auto

build:labs --incompatible_strict_action_env

build:labs --spawn_strategy=worker,sandboxed,local
build:labs --dynamic_local_strategy=worker,sandboxed,standalone

build:labs-broken --experimental_worker_strict_flagfiles

0 comments on commit 0b767ed

Please sign in to comment.