From e1b9fe3ff8593fbf5b2a0b7b4796ea17810d71ce Mon Sep 17 00:00:00 2001 From: Phil Ramsey Date: Fri, 10 Nov 2023 10:21:26 +0000 Subject: [PATCH] i#5365: Build core unit tests with SVE enabled Build most core tests with SVE flags and high optimisation (-O3), if building on an AARCH64 SVE machine. Tests which fail when built with -O3 are not included. Add some error checking to a few tests to allow the -O3 build and update template (expected output) files as necessary. Issue #6429 raised to cover making the removal of optimization flags more granular. Issue: #5365 --- suite/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/suite/tests/CMakeLists.txt b/suite/tests/CMakeLists.txt index 5111b1799d6..45bd5bf0d6c 100644 --- a/suite/tests/CMakeLists.txt +++ b/suite/tests/CMakeLists.txt @@ -487,7 +487,7 @@ endfunction(append_link_flags) # didn't want to add a blocklist in there. # For now we create a list of tests that can be built with -O3. # This is for AARCH64 UNIX only. -# TODO i#6429 Optimization flags are removed for all tests. +# TODO i#6429 Change this allowlist to a blocklist. set(sve_tests simple_app api.ir api.ir_negative api.ir_v81 api.ir_v82 api.ir_v83 api.ir_v84 api.ir_v86 api.ir_sve api.ir_sve2 api.ir-static api.drdecode common.broadfun