From 5f5ffe439a41ddab36a655f3fcf858f03020bba7 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 27 Feb 2024 09:32:13 +0100 Subject: [PATCH 1/4] Upgrade to `actions/cache@v4` for Node 20. --- .github/workflows/main.yml | 2 +- .github/workflows/micronaut.yml | 2 +- .github/workflows/quarkus.yml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9fc005c7caa..429b50b4f8bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -179,7 +179,7 @@ jobs: with: python-version: '3.8' - name: Update mx cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.mx key: ${{ runner.os }}-mx-${{ hashFiles('**/suite.py') }} diff --git a/.github/workflows/micronaut.yml b/.github/workflows/micronaut.yml index aef0d9ed8920..f2b47e739824 100644 --- a/.github/workflows/micronaut.yml +++ b/.github/workflows/micronaut.yml @@ -89,7 +89,7 @@ jobs: with: python-version: '3.8' - name: Update mx cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.mx key: ${{ runner.os }}-mx-${{ hashFiles('**/suite.py') }} diff --git a/.github/workflows/quarkus.yml b/.github/workflows/quarkus.yml index db0ba6a86d41..bfed1489eff6 100644 --- a/.github/workflows/quarkus.yml +++ b/.github/workflows/quarkus.yml @@ -97,13 +97,13 @@ jobs: curl --output quarkus.tgz -sL https://api.github.com/repos/quarkusio/quarkus/tarball/$QUARKUS_VERSION mkdir ${QUARKUS_PATH} tar xf quarkus.tgz -C ${QUARKUS_PATH} --strip-components=1 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.m2/repository key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.mx key: ${{ runner.os }}-mx-${{ hashFiles('**/suite.py') }} From 02d354b94f75f7e695f8fb85a5b66c70e6ca2a74 Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 27 Feb 2024 09:33:00 +0100 Subject: [PATCH 2/4] Upgrade to `actions/setup-python@v5` for Node 20. --- .github/workflows/cdt-inspect.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cdt-inspect.yml b/.github/workflows/cdt-inspect.yml index 64ce823c3fee..b823e2331401 100644 --- a/.github/workflows/cdt-inspect.yml +++ b/.github/workflows/cdt-inspect.yml @@ -78,7 +78,7 @@ jobs: ref: master path: ${{ env.MX_PATH }} - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' - name: Fetch LabsJDK From b12dfc1aefb9866c605723d666e2652b46331a0f Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 27 Feb 2024 09:38:59 +0100 Subject: [PATCH 3/4] Avoid running cron jobs in forks. --- .github/workflows/cdt-inspect.yml | 2 ++ .github/workflows/micronaut.yml | 1 + .github/workflows/quarkus.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/.github/workflows/cdt-inspect.yml b/.github/workflows/cdt-inspect.yml index b823e2331401..363f01a60f5a 100644 --- a/.github/workflows/cdt-inspect.yml +++ b/.github/workflows/cdt-inspect.yml @@ -56,6 +56,8 @@ jobs: runs-on: ubuntu-latest + if: github.repository == 'oracle/graal' + steps: - name: Checkout oracle/graal uses: actions/checkout@v4 diff --git a/.github/workflows/micronaut.yml b/.github/workflows/micronaut.yml index f2b47e739824..db4f53f2c38b 100644 --- a/.github/workflows/micronaut.yml +++ b/.github/workflows/micronaut.yml @@ -70,6 +70,7 @@ jobs: build-graalvm-and-micronaut: name: Native Tests runs-on: ubuntu-20.04 + if: (github.event_name == 'schedule' && github.repository == 'oracle/graal') || (github.event_name != 'schedule') steps: - name: Checkout oracle/graal uses: actions/checkout@v4 diff --git a/.github/workflows/quarkus.yml b/.github/workflows/quarkus.yml index bfed1489eff6..499f32757367 100644 --- a/.github/workflows/quarkus.yml +++ b/.github/workflows/quarkus.yml @@ -72,6 +72,7 @@ jobs: name: Nightly Quarkus and GraalVM build runs-on: ubuntu-20.04 + if: (github.event_name == 'schedule' && github.repository == 'oracle/graal') || (github.event_name != 'schedule') outputs: matrix: ${{ steps.read.outputs.matrix }} steps: From c9fdd5e59becff45eae386f6d52d034eb91f537e Mon Sep 17 00:00:00 2001 From: Fabio Niephaus Date: Tue, 27 Feb 2024 09:46:23 +0100 Subject: [PATCH 4/4] Changelog for `--static` without `--libc=musl`. --- substratevm/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/substratevm/CHANGELOG.md b/substratevm/CHANGELOG.md index f61bbea50cf3..a13df8a0bb47 100644 --- a/substratevm/CHANGELOG.md +++ b/substratevm/CHANGELOG.md @@ -9,6 +9,7 @@ This changelog summarizes major changes to GraalVM Native Image. * (GR-51851) Together with Red Hat, we added initial support for native memory tracking (`--enable-monitoring=nmt`). * (GR-47109) Together with Red Hat, we added support for JFR event throttling and the event `ObjectAllocationSample`. * (GR-52030) Add a stable name for `Proxy` types in Native Image. The name `$Proxy[id]` is replaced by `$Proxy.s[hashCode]` where `hashCode` is computed using the names of the `Proxy` interfaces, the name of the class loader and the name of the module if it is not a dynamic module. +* (GR-47712) Using the `--static` option without the `--libc=musl` option causes the build process to fail (and reports the appropriate error). Static linking is currently only supported with musl. ## GraalVM for JDK 22 (Internal Version 24.0.0) * (GR-48304) Red Hat added support for the JFR event ThreadAllocationStatistics.