[mlpack-svn] r11320 - mlpack/conf/packages/mlpack/trunk/debian/patches

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Feb 1 02:04:48 EST 2012


Author: speet3
Date: 2012-02-01 02:04:48 -0500 (Wed, 01 Feb 2012)
New Revision: 11320

Added:
   mlpack/conf/packages/mlpack/trunk/debian/patches/no-debug-or-profiling-info.patch
Modified:
   mlpack/conf/packages/mlpack/trunk/debian/patches/series
Log:
default to no debug or profiling for the packaged version

Added: mlpack/conf/packages/mlpack/trunk/debian/patches/no-debug-or-profiling-info.patch
===================================================================
--- mlpack/conf/packages/mlpack/trunk/debian/patches/no-debug-or-profiling-info.patch	                        (rev 0)
+++ mlpack/conf/packages/mlpack/trunk/debian/patches/no-debug-or-profiling-info.patch	2012-02-01 07:04:48 UTC (rev 11320)
@@ -0,0 +1,16 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -59,9 +59,10 @@
+ endif(Boost_MAJOR_VERSION EQUAL 1 AND Boost_MINOR_VERSION GREATER 45)
+ 
+ 
+-# Default to debugging mode for developers.
+-option(DEBUG "Compile with debugging information" ON)
+-option(PROFILE "Compile with profiling information" ON)
++# Default to clean for packaging and release, developers can call
++#   for debugging and profiling if they need it.
++option(DEBUG "Compile with debugging information" OFF)
++option(PROFILE "Compile with profiling information" OFF)
+ option(ARMA_EXTRA_DEBUG "Compile with extra Armadillo debugging symbols." OFF)
+ 
+ # This is as of yet unused.

Modified: mlpack/conf/packages/mlpack/trunk/debian/patches/series
===================================================================
--- mlpack/conf/packages/mlpack/trunk/debian/patches/series	2012-02-01 05:51:17 UTC (rev 11319)
+++ mlpack/conf/packages/mlpack/trunk/debian/patches/series	2012-02-01 07:04:48 UTC (rev 11320)
@@ -1 +1,2 @@
 build-Doxygen.patch
+no-debug-or-profiling-info.patch




More information about the mlpack-svn mailing list