[mlpack-git] [mlpack/mlpack] Default to DEBUG=OFF and PROFILE=OFF. (#662)

Yannis Mentekidis notifications at github.com
Thu Jun 2 15:21:15 EDT 2016


Most people (myself included) will closely follow directions in the README before trying alternative install configurations, meaning if we make it slightly easier for them to just copy-paste commands on the terminal they will stop compiling with debug symbols.

For example, now README.md describes the installation process like this:

> The next step is to run CMake to configure the project [...]
> `$ cmake ../ `
>You can specify options to compile with debugging information and profiling information:
>`$ cmake -D DEBUG=ON -D PROFILE=ON ../`

We could have it say instead:

> The next step is to run CMake to configure the project [...]
>  `$ cmake -D DEBUG=OFF -D PROFILE=OFF ../ `
> 
> You can specify options to compile with debugging information and profiling information:
>  `$ cmake -D DEBUG=ON -D PROFILE=ON ../`
> Be warned, this will make mlpack significantly slower and is intended for mlpack developers

 

(Or something like that)




---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/662#issuecomment-223394692
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160602/51c368e1/attachment.html>


More information about the mlpack-git mailing list