[C++-sig] Set optimization level for build_ext ??

Greg Landrum greg.landrum at gmail.com
Mon Jun 30 21:26:20 CEST 2008


On Mon, Jun 30, 2008 at 6:55 PM, Michael Wieher
<michael.wieher at gmail.com> wrote:
> can anyone help me to be sure that I'm using NO optimization when this
> is compiled (ie: how to turn it on/off?)

I gave up on distutils a while ago, but I did at some point figure out
how to exert some control over the compile flags.

Two files that *may* demonstrate what you want:
http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/Python/RDBuild.py?revision=1&view=markup
and
http://rdkit.svn.sourceforge.net/viewvc/rdkit/trunk/Code/ChemicalFeatures/Wrap/setup.py?revision=1&view=markup

Good luck,
-greg



More information about the Cplusplus-sig mailing list