Skip to content

Commit

Permalink
i#5365: Build core unit tests with SVE enabled
Browse files Browse the repository at this point in the history
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
  • Loading branch information
philramsey-arm committed Nov 9, 2023
1 parent cc04ca8 commit 8bdc9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion suite/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,7 @@ function(use_MD_not_MTd source_file)
endif ()
endfunction()

# The -O3 flag is removed above with the
# The -O3 flag is removed above with the
# string(REGEX REPLACE "-O[0-9]? " " " CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
# line. -O3 is then selectively re-added with this function or add_sve_flags().
# It will be desirable to one day remove the "REGEX REPLACE" line and just
Expand Down

0 comments on commit 8bdc9b5

Please sign in to comment.