Skip to content

Commit 8901cff

Browse files
author
Dr. Mathieu Taillefumier
committed
Remove mtune=native as it breaks generic x86_64 compilation support
1 parent 5e26703 commit 8901cff

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ cmake_policy(SET CMP0048 NEW)
66
project(costa
77
DESCRIPTION "Communication Optimal Shuffle and Transpose Algorithms"
88
HOMEPAGE_URL "https://github.com/eth-cscs/COSTA"
9-
VERSION 2.2.1
9+
VERSION 2.2.2
1010
LANGUAGES CXX)
1111

1212
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
@@ -58,7 +58,8 @@ adjust_mpiexec_flags()
5858
# OpenMP
5959
find_package(OpenMP COMPONENTS CXX REQUIRED)
6060

61-
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 -funroll-loops -march=native -DNDEBUG")
61+
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -funroll-loops -DNDEBUG")
62+
6263

6364
# Bundled dependencies
6465
#

0 commit comments

Comments
 (0)