From 2f89a5970ea4ccb08d10aabd1e14b331269aa68e Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Fri, 25 Jul 2025 15:43:37 +0200 Subject: [PATCH] fix NeoverseV2 typo --- cmake/system.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/system.cmake b/cmake/system.cmake index 338f00947..2e43885b3 100644 --- a/cmake/system.cmake +++ b/cmake/system.cmake @@ -338,7 +338,7 @@ if (${TARGET} STREQUAL NEOVERSEV1) endif() endif() endif() - if (${TARGET} STREQUAL NEOVERSEN2) + if (${TARGET} STREQUAL NEOVERSEV2) if (${CMAKE_C_COMPILER_ID} STREQUAL "PGI" AND NOT NO_SVE) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -Msve-intrinsics -march=armv9-a+sve+sve2+bf16 -mtune=neoverse-v2") else () @@ -347,7 +347,7 @@ if (${TARGET} STREQUAL NEOVERSEV1) elseif (CMAKE_C_COMPILER_VERSION VERSION_GREATER 10.4 OR CMAKE_C_COMPILER_VERSION VERSION_EQUAL 10.4) set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=armv8.4-a+sve+bf16 -mtune=neoverse-v1") else () - message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse N2.") + message(FATAL_ERROR "Compiler $${CMAKE_C_COMPILER} ${CMAKE_C_COMPILER_VERSION} does not support Neoverse V2.") endif() endif() endif()