-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for latest gvm release →
23.1.0
- feat: add necessary support to mapping generator for new release - fix: ambiguity with original gvm `21.0.0` release - fix: `graalvm-ce-20` test was using oracle - test: add ce test for `java21` - test: add oracle test for `java21` - chore: regenerate bindist mappings - chore: deprecate components via `components=` property (only on new version) Signed-off-by: Sam Gammon <[email protected]>
- Loading branch information
Showing
29 changed files
with
793 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Nothing at this time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.0.0-pre.20230816.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
workspace(name = "rules_graalvm_sample") | ||
|
||
local_repository( | ||
name = "rules_graalvm", | ||
path = "../../..", | ||
) | ||
|
||
load("@rules_graalvm//graalvm:workspace.bzl", "register_graalvm_toolchains", "rules_graalvm_repositories") | ||
|
||
rules_graalvm_repositories() | ||
|
||
register_graalvm_toolchains() | ||
|
||
load("@rules_graalvm//graalvm:repositories.bzl", "graalvm_repository") | ||
|
||
graalvm_repository( | ||
name = "graalvm", | ||
distribution = "ce", | ||
java_version = "21", | ||
version = "23.1.0", | ||
) |
28 changes: 28 additions & 0 deletions
28
example/integration_tests/graalvm-ce-21/sample/BUILD.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
load( | ||
"@rules_graalvm//graalvm:defs.bzl", | ||
"native_image", | ||
) | ||
|
||
java_library( | ||
name = "java", | ||
srcs = ["Main.java"], | ||
) | ||
|
||
java_binary( | ||
name = "main", | ||
main_class = "Main", | ||
runtime_deps = [ | ||
":java", | ||
], | ||
) | ||
|
||
native_image( | ||
name = "main-native", | ||
main_class = "Main", | ||
deps = [":java"], | ||
) | ||
|
||
alias( | ||
name = "sample", | ||
actual = "main-native", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class Main { | ||
public static void main(String args[]) { | ||
System.out.println("Hello, GraalVM!"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Nothing at this time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.0.0-pre.20230816.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bazel-* |
21 changes: 21 additions & 0 deletions
21
example/integration_tests/graalvm-oracle-21/WORKSPACE.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
workspace(name = "rules_graalvm_sample") | ||
|
||
local_repository( | ||
name = "rules_graalvm", | ||
path = "../../..", | ||
) | ||
|
||
load("@rules_graalvm//graalvm:workspace.bzl", "register_graalvm_toolchains", "rules_graalvm_repositories") | ||
|
||
rules_graalvm_repositories() | ||
|
||
register_graalvm_toolchains() | ||
|
||
load("@rules_graalvm//graalvm:repositories.bzl", "graalvm_repository") | ||
|
||
graalvm_repository( | ||
name = "graalvm", | ||
distribution = "oracle", | ||
java_version = "21", | ||
version = "23.1.0", | ||
) |
28 changes: 28 additions & 0 deletions
28
example/integration_tests/graalvm-oracle-21/sample/BUILD.bazel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
load( | ||
"@rules_graalvm//graalvm:defs.bzl", | ||
"native_image", | ||
) | ||
|
||
java_library( | ||
name = "java", | ||
srcs = ["Main.java"], | ||
) | ||
|
||
java_binary( | ||
name = "main", | ||
main_class = "Main", | ||
runtime_deps = [ | ||
":java", | ||
], | ||
) | ||
|
||
native_image( | ||
name = "main-native", | ||
main_class = "Main", | ||
deps = [":java"], | ||
) | ||
|
||
alias( | ||
name = "sample", | ||
actual = "main-native", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public class Main { | ||
public static void main(String args[]) { | ||
System.out.println("Hello, GraalVM!"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.