From cc931426b76cc6cb02e44b71b74e45f8d6060fa7 Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Tue, 22 Mar 2022 17:21:38 +0100 Subject: [PATCH] fix mapping zen3 march flags to icc --- cmake/OptimizeForArchitecture.cmake | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/OptimizeForArchitecture.cmake b/cmake/OptimizeForArchitecture.cmake index b86f031fb..cab907905 100644 --- a/cmake/OptimizeForArchitecture.cmake +++ b/cmake/OptimizeForArchitecture.cmake @@ -521,8 +521,9 @@ Other supported values are: \"none\", \"generic\", \"core\", \"merom\" (65nm Cor set(OFA_map_penryn "-xSSSE3") set(OFA_map_merom "-xSSSE3") set(OFA_map_core2 "-xSSE3") - set(OFA_map_zen3 "-xAVX2") - set(OFA_map_zen "-xAVX2") + set(OFA_map_znver3 "-xAVX2") + set(OFA_map_znver2 "-xAVX2") + set(OFA_map_znver1 "-xAVX2") set(_ok FALSE) foreach(arch ${_march_flag_list}) if(DEFINED OFA_map_${arch})