[mlpack-svn] r13371 - mlpack/trunk

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Aug 8 13:41:53 EDT 2012


Author: rcurtin
Date: 2012-08-08 13:41:53 -0400 (Wed, 08 Aug 2012)
New Revision: 13371

Modified:
   mlpack/trunk/CMakeLists.txt
Log:
#223: I don't think we have ever needed to link Boost.Math anyway.
Also use -O3 for shits and giggles.  I didn't see much runtime difference but
whatever.


Modified: mlpack/trunk/CMakeLists.txt
===================================================================
--- mlpack/trunk/CMakeLists.txt	2012-08-08 16:51:56 UTC (rev 13370)
+++ mlpack/trunk/CMakeLists.txt	2012-08-08 17:41:53 UTC (rev 13371)
@@ -26,8 +26,8 @@
 else()
   add_definitions(-DARMA_NO_DEBUG)
   add_definitions(-DNDEBUG)
-  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2")
-  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O2")
+  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3")
+  set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -O3")
 endif(DEBUG)
 
 # Profiling CFLAGS.  Turn profiling information on.
@@ -138,7 +138,6 @@
   "1.46.0" "1.46.1" "1.47.0" "1.48.0" "1.49.0")
 find_package(Boost
     COMPONENTS
-      math_c99
       program_options
       unit_test_framework
     REQUIRED




More information about the mlpack-svn mailing list