Changeset 2971


Ignore:
Timestamp:
07/07/14 16:29:09 (10 years ago)
Author:
KohjiNakamura
Message:

native optimization

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r2931 r2971  
    6666# flags for Profile build
    6767set( CMAKE_CXX_FLAGS_PROFILE "-g -O2 -pg -fprofile-arcs -fno-omit-frame-pointer" )
     68set( CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -g -DNDEBUG -fno-omit-frame-pointer" )
    6869
    6970# flags for Release build
     
    8586# default flags
    8687set( DEFAULT_CXX_FLAGS
    87      "-pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment" )
     88     "-march=native -funroll-all-loops -pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment" )
    8889
    8990find_package( OpenMP )
  • trunk/cmake/withcasa.cmake

    r2967 r2971  
    155155find_path( LIBXML2_LIBRARY libxml2${CMAKE_SHARED_LIBRARY_SUFFIX}
    156156           PATHS /usr
    157            PATH_SUFFIXES lib64 lib )
     157           PATH_SUFFIXES lib64 lib lib/x86_64-linux-gnu)
    158158#find_path( LIBXML2_LIBRARY libxml2.so )
    159159if ( LIBXML2_LIBRARY MATCHES "NOTFOUND$" )
Note: See TracChangeset for help on using the changeset viewer.