]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
AArch64: Enable optimized QEMU CI builds 4429/head
authorArpad Panyik <Arpad.Panyik@arm.com>
Tue, 8 Jul 2025 17:09:09 +0000 (17:09 +0000)
committerArpad Panyik <Arpad.Panyik@arm.com>
Thu, 10 Jul 2025 18:20:57 +0000 (18:20 +0000)
Add missing `-O3` flag to the compilation of AArch64 SVE2 builds
executed by QEMU. This can decrease the CI job runtime considerably.

.github/workflows/dev-short-tests.yml

index 53f640dae24774d159348043ef6934db1024160e..af6a2997a2150d64ce8edc2b9c4c9d94a4ade1b8 100644 (file)
@@ -435,8 +435,8 @@ jobs:
         make clean
         LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j check
         LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j -C tests test-cli-tests
-        CFLAGS="-march=armv8.2-a+sve2" LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j check
-        CFLAGS="-march=armv8.2-a+sve2" LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j -C tests test-cli-tests
+        CFLAGS="-O3 -march=armv8.2-a+sve2" LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j check
+        CFLAGS="-O3 -march=armv8.2-a+sve2" LDFLAGS="-static" CC=$XCC QEMU_SYS=$XEMU make -j -C tests test-cli-tests
 # This test is only compatible with standard libraries that support BTI (Branch Target Identification).
 # Unfortunately, the standard library provided on Ubuntu 24.04 does not have this feature enabled.
 #        make clean