Feature #141

Add several compiler flags to the new makefile system

Added by Christof Elbrechter over 11 years ago. Updated over 11 years ago.

Status:ClosedStart date:2013-02-08
Priority:NormalDue date:
Assignee:Christof Elbrechter% Done:

0%

Category:-
Target version:icl-8.0

Description

  • Build-Configuration Release;Debug;RelWithDebugInfo
    debug -O0 -g3 -Wall
    release -O3 -DNDEBUG (fast-math ??) -Wall

für späteren clang support:
if(CMAKE_CXX_COMPILER MATCHES ".*clang\\+\\+$") # little ugly here
set(ICL_DEACTIVATED_WARNING "-Wno-internal-linkage-in-inline Werror -Wno\\#warnings -Wno-deprecated-declarations -Wno-uninitialized -Wno-overloaded-virtual")

  • openmp AN/AUS: falls an cflags += -fopenmp und -DUSE_OPENMP
  • SIMD test (/proc/cpuinfo) MMX SSE SSE2 SSE3 usw
    (alternative Option: BUILD_WITH_MARCH_NATIVE und der setzt dann vielleicht alles automatisch?)

History

#1 Updated by Christof Elbrechter over 11 years ago

  • Status changed from New to Closed
  • Assignee changed from Michael Götting to Christof Elbrechter

Also available in: Atom PDF