Browse Source

removed prefetch memory flag from clang as it's not supported (unlike for gcc)

Former-commit-id: f091d1236c [formerly 61906bba07]
Former-commit-id: 9479100c6a
tempestpy_adaptions
dehnert 8 years ago
parent
commit
41960796f1
  1. 2
      CMakeLists.txt

2
CMakeLists.txt

@ -165,7 +165,7 @@ else(CLANG)
# As CLANG is not set as a variable, we need to set it in case we have not matched another compiler.
set (CLANG ON)
# Set standard flags for clang
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto -fprefetch-loop-arrays -ffast-math -fno-finite-math-only")
set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto -ffast-math -fno-finite-math-only")
if(UNIX AND NOT APPLE)
if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.2)

Loading…
Cancel
Save