Skip to content
This repository was archived by the owner on Sep 19, 2025. It is now read-only.

Commit 7592950

Browse files
Upgrade to the latest GraalVM version
1 parent 92a132f commit 7592950

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ jobs:
140140
- name: Install GraalVM
141141
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # 1.3.3
142142
with:
143-
java-version: 21
143+
java-version: 24
144144
distribution: 'graalvm-community'
145145
github-token: ${{ secrets.GITHUB_TOKEN }}
146146
native-image-job-reports: 'true'
@@ -207,7 +207,7 @@ jobs:
207207
- name: Setup GraalVM
208208
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # 1.3.3
209209
with:
210-
java-version: 21
210+
java-version: 24
211211
distribution: 'graalvm-community'
212212
github-token: ${{ secrets.GITHUB_TOKEN }}
213213
native-image-job-reports: 'true'
@@ -271,7 +271,7 @@ jobs:
271271
- name: Setup GraalVM
272272
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # 1.3.3
273273
with:
274-
java-version: 21
274+
java-version: 24
275275
distribution: 'graalvm-community'
276276
github-token: ${{ secrets.GITHUB_TOKEN }}
277277
native-image-job-reports: 'true'
@@ -335,7 +335,7 @@ jobs:
335335
- name: Setup GraalVM
336336
uses: graalvm/setup-graalvm@01ed653ac833fe80569f1ef9f25585ba2811baab # 1.3.3
337337
with:
338-
java-version: 21
338+
java-version: 24
339339
distribution: 'graalvm-community'
340340
github-token: ${{ secrets.GITHUB_TOKEN }}
341341
native-image-job-reports: 'true'

build-scripts/graal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const flagsByPlatformAndArch = new Map([
4141
// See https://www.graalvm.org/latest/reference-manual/native-image/guides/build-static-executables/
4242
['linux-x86', ['--static', '--libc=musl']],
4343
['linux-x64', ['--static', '--libc=musl']],
44-
['linux-arm64', ['-H:+StaticExecutableWithDynamicLibC']], // On Graal JDK 24 and newer, this is --static-nolibc
44+
['linux-arm64', ['--static-nolibc']],
4545
]);
4646

4747
const NATIVE_IMAGE_BUILD_ARGS = ['-H:+UnlockExperimentalVMOptions'].concat(
@@ -59,8 +59,8 @@ const NATIVE_IMAGE_BUILD_ARGS = ['-H:+UnlockExperimentalVMOptions'].concat(
5959
'-H:IncludeResources=lib/.*\.js',
6060
'-H:IncludeResources=META-INF/.*\.txt',
6161
'-H:+ReportExceptionStackTraces',
62-
// '-H:+GenerateEmbeddedResourcesFile', // Available on Graal JDK 24 and newer
63-
'--report-unsupported-elements-at-runtime',
62+
// '-H:+GenerateEmbeddedResourcesFile',
63+
'-J--sun-misc-unsafe-memory-access=allow', // See https://github.com/google/closure-compiler/issues/4229
6464
'--initialize-at-build-time',
6565
'-march=compatibility',
6666
'--color=always',

0 commit comments

Comments
 (0)