From 5275995fb6e5fe96f930458b7b26c82527008484 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Mon, 14 Apr 2025 09:37:47 +0100 Subject: [PATCH 1/2] Add -flto=auto to changelog --- Docs/ChangeLog-5x.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Docs/ChangeLog-5x.md b/Docs/ChangeLog-5x.md index 7dda5d5a..a6556a23 100644 --- a/Docs/ChangeLog-5x.md +++ b/Docs/ChangeLog-5x.md @@ -17,11 +17,15 @@ The 5.3.0 release is a minor maintenance release. * **Feature:** Reference C builds (`ASTCENC_ISA_NONE`) now support compiling for big-endian CPUs. Compile with `-DASTCENC_BIG_ENDIAN=ON` when compiling for a big-endian target; it is not auto-detected. + * **Improvement:** Builds using GCC now specify `-flto=auto` to allow + parallel link steps, and remove the log warnings about not setting a CPU + count parameter value. * **Bug fix:** Builds using MSVC `cl.exe` that do not specify an explicit ISA using the preprocessor configuration defines will now correctly default to the SSE2 backend on x86-64 and the NEON backend on Arm64. Previously they would have defaulted to the reference C implementation, which is around 3.25 times slower. + ## 5.2.0 From 2c5742061f6fa7f0ed8c1df4e27269f1d3ded723 Mon Sep 17 00:00:00 2001 From: Peter Harris Date: Mon, 14 Apr 2025 09:38:20 +0100 Subject: [PATCH 2/2] Add apt-get update to GHA runner --- .github/workflows/build_test.yaml | 14 +++++++++----- .github/workflows/post_weekly_release.yaml | 5 ++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build_test.yaml b/.github/workflows/build_test.yaml index 2dc8614f..9faf1672 100644 --- a/.github/workflows/build_test.yaml +++ b/.github/workflows/build_test.yaml @@ -17,8 +17,11 @@ jobs: with: submodules: 'true' + - name: Update apt packages + run: sudo apt-get update + - name: Install ImageMagick - run: sudo apt install imagemagick + run: sudo apt-get install imagemagick - name: Build release run: | @@ -76,13 +79,14 @@ jobs: with: submodules: 'true' + - name: Update apt packages + run: sudo apt-get update + - name: Install ImageMagick - run: sudo apt install imagemagick + run: sudo apt-get install imagemagick - name: Install GCC 14 - run: | - sudo apt-get update - sudo apt-get install -y gcc-14 + run: sudo apt-get install -y gcc-14 - name: Build release run: | diff --git a/.github/workflows/post_weekly_release.yaml b/.github/workflows/post_weekly_release.yaml index 49c718bb..95d7cfd3 100644 --- a/.github/workflows/post_weekly_release.yaml +++ b/.github/workflows/post_weekly_release.yaml @@ -71,8 +71,11 @@ jobs: with: submodules: 'true' + - name: Update apt packages + run: sudo apt-get update + - name: Install ImageMagick - run: sudo apt install imagemagick + run: sudo apt-get install imagemagick - name: Build release run: |