Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: 0.11.1 #275

Merged
merged 2 commits into from
Jan 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@

module(
name = "rules_graalvm",
version = "0.11.0",
version = "0.11.1",
)

JAVA_VERSION = "21"

NODE_VERSION = "20.5.0"

GRAALVM_VERSION = "21.0.1"
GRAALVM_VERSION = "21.0.2"

GRAALVM_DIST = "ce"

GRAALVM_SDK_VERSION = "23.1.1"
GRAALVM_SDK_VERSION = "23.1.2"

##
## Dependencies: API
Expand Down
2,786 changes: 1,219 additions & 1,567 deletions MODULE.bazel.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

---

> Latest release: [`0.11.0`](https://registry.bazel.build/modules/rules_graalvm)
> Latest release: [`0.11.1`](https://registry.bazel.build/modules/rules_graalvm)

Use [GraalVM](https://graalvm.org) with [Bazel](https://bazel.build) to:

Expand Down Expand Up @@ -47,16 +47,16 @@ Use [GraalVM](https://graalvm.org) with [Bazel](https://bazel.build) to:

| Artifact | SHA256 |
| ------- | ----------- |
| `rules_graalvm-0.11.0.zip` | `f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54 ` |
| `rules_graalvm-0.11.0.tgz` | `07ee6451dd4fd78625b0f0d94b9df9bf673716bf9572a0ab24675bc052928f7a ` |
| `rules_graalvm-0.11.1.zip` | `None` |
| `rules_graalvm-0.11.1.tgz` | `None` |

```starlark
http_archive(
name = "rules_graalvm",
sha256 = "f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54",
strip_prefix = "rules_graalvm-0.11.0",
sha256 = None,
strip_prefix = "rules_graalvm-0.11.1",
urls = [
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.0/rules_graalvm-0.11.0.zip",
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.1/rules_graalvm-0.11.1.zip",
],
)
```
Expand All @@ -70,7 +70,7 @@ graalvm_repository(
name = "graalvm",
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
version = "21.0.1", # earlier version format like `22.x` also supported
version = "21.0.2", # earlier version format like `22.x` also supported
)
```

Expand All @@ -88,19 +88,19 @@ register_graalvm_toolchains()

| Artifact | Integrity value |
| ------- | --------------- |
| `rules_graalvm-0.11.0.zip` | `sha256-+QcEEzD37/igrxwZ/fk28Mj4vBJ8tS1aHd5ER4TZ31Q=` |
| `rules_graalvm-0.11.0.tgz` | `sha256-B+5kUd1P14YlsPDZS535v2c3Fr+VcqCrJGdbwFKSj3o=` |
| `rules_graalvm-0.11.1.zip` | `None` |
| `rules_graalvm-0.11.1.tgz` | `None` |

```starlark
bazel_dep(name = "rules_graalvm", version = "0.11.0")
bazel_dep(name = "rules_graalvm", version = "0.11.1")
```

```starlark
gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")

gvm.graalvm(
name = "graalvm",
version = "21.0.1", # earlier version format like `22.x` also supported
version = "21.0.2", # earlier version format like `22.x` also supported
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
)
Expand Down
22 changes: 11 additions & 11 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

---

> Latest release: `0.11.0`
> Latest release: `0.11.1`

> **Important**
> Currently in beta. Feedback welcome but will probably break your build.
Expand Down Expand Up @@ -36,16 +36,16 @@ Use [GraalVM](https://graalvm.org) from [Bazel](https://bazel.build), with suppo

| Artifact | SHA256 |
| ------- | ----------- |
| `rules_graalvm-0.11.0.zip` | `f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54 ` |
| `rules_graalvm-0.11.0.tgz` | `07ee6451dd4fd78625b0f0d94b9df9bf673716bf9572a0ab24675bc052928f7a ` |
| `rules_graalvm-0.11.1.zip` | `None` |
| `rules_graalvm-0.11.1.tgz` | `None` |

```python
http_archive(
name = "rules_graalvm",
sha256 = "f907041330f7eff8a0af1c19fdf936f0c8f8bc127cb52d5a1dde444784d9df54",
strip_prefix = "rules_graalvm-0.11.0",
sha256 = None,
strip_prefix = "rules_graalvm-0.11.1",
urls = [
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.0/rules_graalvm-0.11.0.zip",
"https://github.com/sgammon/rules_graalvm/releases/download/v0.11.1/rules_graalvm-0.11.1.zip",
],
)
```
Expand All @@ -67,27 +67,27 @@ graalvm_repository(
name = "graalvm",
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
version = "21.0.1", # earlier version format like `22.x` also supported
version = "21.0.2", # earlier version format like `22.x` also supported
)
```

**Or, via `MODULE.bazel`:**

| Artifact | Integrity value |
| ------- | --------------- |
| `rules_graalvm-0.11.0.zip` | `sha256-+QcEEzD37/igrxwZ/fk28Mj4vBJ8tS1aHd5ER4TZ31Q=` |
| `rules_graalvm-0.11.0.tgz` | `sha256-B+5kUd1P14YlsPDZS535v2c3Fr+VcqCrJGdbwFKSj3o=` |
| `rules_graalvm-0.11.1.zip` | `None` |
| `rules_graalvm-0.11.1.tgz` | `None` |

```python
bazel_dep(name = "rules_graalvm", version = "0.11.0")
bazel_dep(name = "rules_graalvm", version = "0.11.1")
```

```python
gvm = use_extension("@rules_graalvm//:extensions.bzl", "graalvm")

gvm.graalvm(
name = "graalvm",
version = "21.0.1", # earlier version format like `22.x` also supported
version = "21.0.2", # earlier version format like `22.x` also supported
distribution = "ce", # `oracle`, `ce`, or `community`
java_version = "21", # `17`, `20`, or `21`, as supported by the version provided
)
Expand Down
2 changes: 1 addition & 1 deletion example/integration_tests/bzlmod/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ gvm.graalvm(
name = "graalvm",
distribution = "ce",
java_version = "21",
version = "21.0.1",
version = "21.0.2",
)
use_repo(
gvm,
Expand Down
2 changes: 1 addition & 1 deletion example/integration_tests/graalvm-ce-21/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ graalvm_repository(
name = "graalvm",
distribution = "ce",
java_version = "21",
version = "21.0.1",
version = "21.0.2",
)
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ graalvm_repository(
name = "graalvm",
distribution = "oracle",
java_version = "21",
version = "21.0.1",
version = "21.0.2",
)
4 changes: 2 additions & 2 deletions example/integration_tests/maven-artifacts/WORKSPACE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ local_repository(
path = "../../..",
)

GRAALVM_VERSION = "23.1.0"
GRAALVM_VERSION = "23.1.2"

GRAALVM_JAVA_VERSION = "21.0.1"
GRAALVM_JAVA_VERSION = "21.0.2"

load("@rules_graalvm//graalvm:workspace.bzl", "register_graalvm_toolchains", "rules_graalvm_repositories")

Expand Down
2 changes: 1 addition & 1 deletion example/integration_tests/shared-lib/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ gvm.graalvm(
name = "graalvm",
distribution = "ce",
java_version = "21",
version = "21.0.1",
version = "21.0.2",
)
use_repo(
gvm,
Expand Down
4 changes: 2 additions & 2 deletions internal/config.bzl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"Defines configuration and pinned versions for the GraalVM Rules project."

GRAALVM_VERSION = "21.0.1"
GRAALVM_VERSION = "21.0.2"

GRAALVM_SDK_VERSION = "23.1.1"
GRAALVM_SDK_VERSION = "23.1.2"

GRAALVM_DISTRIBUTION = "ce"

Expand Down
1 change: 1 addition & 0 deletions internal/graalvm_bindist.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,7 @@ def graalvm_repository(
if ((java_version == "21") or (
version == "21.0.0" or
version == "21.0.1" or
version == "21.0.2" or
version == "23.1.0" or
version == "23.1.1" or
version == "latest"
Expand Down
105 changes: 105 additions & 0 deletions internal/graalvm_bindist_map.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ _ComponentDependencies = {
# Aligned GraalVM distribution versions.
# buildifier: disable=name-conventions
_AlignedVersions = {
"21.0.2": "23.1.2",
"21.0.1": "23.1.1",
"21.0.0": "23.1.0",
"20.0.2": "23.0.1",
Expand All @@ -64,6 +65,8 @@ _AlignedVersions = {
# VM release versions for calculating prefixes.
# buildifier: disable=name-conventions
_VmReleaseVersions = {
"23.1.2": "21.0.2+13.1",
"21.0.2": "21.0.2+13.1",
"21.0.1": "21.0.1+12.1",
"23.1.1": "21.0.1+12.1",
"23.1.0": "21+35.1",
Expand All @@ -77,6 +80,8 @@ _VmReleaseVersions = {
# VM release versions (for Oracle GVM) for calculating prefixes.
# buildifier: disable=name-conventions
_VmReleaseVersionsOracle = {
"23.1.2": "21.0.2+13.1",
"21.0.2": "21.0.2+13.1",
"21.0.1": "21.0.1+12.1",
"23.1.1": "21.0.1+12.1",
"23.1.0": "21+35.1",
Expand Down Expand Up @@ -2043,6 +2048,106 @@ _GRAALVM_BINDIST = {
"@rules_graalvm//platform/jvm:java21",
],
},
"ce_21.0.2_linux-aarch64_23.1.2": {
# GraalVM CE 21.0.2 (Java 21), Linux (arm64), Version 23.1.2
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_linux-aarch64_bin.tar.gz",
"sha256": "a34be691ce68f0acf4655c7c6c63a9a49ed276a11859d7224fd94fc2f657cd7a",
"compatible_with": [
"@platforms//cpu:aarch64",
"@platforms//os:linux",
"@rules_graalvm//platform/jvm:java21",
],
},
"ce_21.0.2_linux-x64_23.1.2": {
# GraalVM CE 21.0.2 (Java 21), Linux (amd64), Version 23.1.2
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_linux-x64_bin.tar.gz",
"sha256": "b048069aaa3a99b84f5b957b162cc181a32a4330cbc35402766363c5be76ae48",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
"@rules_graalvm//platform/jvm:java21",
],
},
"ce_21.0.2_macos-aarch64_23.1.2": {
# GraalVM CE 21.0.2 (Java 21), macOS (arm64), Version 23.1.2
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_macos-aarch64_bin.tar.gz",
"sha256": "515e3a93acc7e1938daba83eda4272e5495fd302d7cdd99ec7ebf408ed505ab7",
"compatible_with": [
"@platforms//cpu:aarch64",
"@platforms//os:macos",
"@rules_graalvm//platform/jvm:java21",
],
},
"ce_21.0.2_macos-x64_23.1.2": {
# GraalVM CE 21.0.2 (Java 21), macOS (amd64), Version 23.1.2
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_macos-x64_bin.tar.gz",
"sha256": "7a8aa93fa45d1721908477abf4732a32637d420ffcb66ada9fb6456440b0d9e1",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:macos",
"@rules_graalvm//platform/jvm:java21",
],
},
"ce_21.0.2_windows-x64_23.1.2": {
# GraalVM CE 21.0.2 (Java 21), Windows (amd64), Version 23.1.2
"url": "https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-21.0.2/graalvm-community-jdk-21.0.2_windows-x64_bin.zip",
"sha256": "e17b7bead097bf372a5c75df17815b0a2f30b777a019d25eff7706b21421f7fa",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:windows",
"@rules_graalvm//platform/jvm:java21",
],
},
"oracle_21.0.2_linux-aarch64_23.1.2": {
# Oracle GraalVM 21.0.2 (Java 21), Linux (arm64), Version 23.1.2
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_linux-aarch64_bin.tar.gz",
"sha256": "dfac8d0e7ff8a128e8e8283e1ed6e3540dc44e7a9084c956e8deb9f84a268338",
"compatible_with": [
"@platforms//cpu:aarch64",
"@platforms//os:linux",
"@rules_graalvm//platform/jvm:java21",
],
},
"oracle_21.0.2_linux-x64_23.1.2": {
# Oracle GraalVM 21.0.2 (Java 21), Linux (amd64), Version 23.1.2
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_linux-x64_bin.tar.gz",
"sha256": "ee6286773c659afeefdf2f989a133e7a631c60897f2263ac183794ee1d6438f4",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
"@rules_graalvm//platform/jvm:java21",
],
},
"oracle_21.0.2_macos-aarch64_23.1.2": {
# Oracle GraalVM 21.0.2 (Java 21), macOS (arm64), Version 23.1.2
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_macos-aarch64_bin.tar.gz",
"sha256": "b504f7c570836a9c6b1b92813c5123718636d0ff0f832321129a4fe3a7b9a0b3",
"compatible_with": [
"@platforms//cpu:aarch64",
"@platforms//os:macos",
"@rules_graalvm//platform/jvm:java21",
],
},
"oracle_21.0.2_macos-x64_23.1.2": {
# Oracle GraalVM 21.0.2 (Java 21), macOS (amd64), Version 23.1.2
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_macos-x64_bin.tar.gz",
"sha256": "3e24632f27be74d039508ea2b0b7862ef8c40784f55785cf6b6e40b4b28d9d53",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:macos",
"@rules_graalvm//platform/jvm:java21",
],
},
"oracle_21.0.2_windows-x64_23.1.2": {
# Oracle GraalVM 21.0.2 (Java 21), Windows (amd64), Version 23.1.2
"url": "https://download.oracle.com/graalvm/21/archive/graalvm-jdk-21.0.2_windows-x64_bin.zip",
"sha256": "bc5027e506775813131509247424d4af839ad23224a7787b7770ae82eeb3b32d",
"compatible_with": [
"@platforms//cpu:x86_64",
"@platforms//os:windows",
"@rules_graalvm//platform/jvm:java21",
],
},
}

# Exports.
Expand Down
Loading
Loading