File: keep_debug

package info (click to toggle)
macs 2.2.7.1-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 320,532 kB
  • sloc: python: 3,046; ansic: 708; sh: 336; makefile: 38
file content (13 lines) | stat: -rw-r--r-- 804 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
Author: Michael R. Crusoe <michael.crusoe@gmail.com>
Description: Keep the debug symbols, we'll strip them out later
--- macs.orig/setup.py
+++ macs/setup.py
@@ -46,7 +46,7 @@
     numpy_include_dir = [numpy_get_include()]
         
     # I intend to use -Ofast, however if gcc version < 4.6, this option is unavailable so...
-    extra_c_args = ["-w","-O3","-ffast-math","-g0"] # for C, -Ofast implies -O3 and -ffast-math
+    extra_c_args = ["-w","-O3","-ffast-math"] # for C, -Ofast implies -O3 and -ffast-math
 
     ext_modules = [Extension("MACS2.Prob", ["MACS2/Prob.pyx"], libraries=["m"], include_dirs=numpy_include_dir, extra_compile_args=extra_c_args ),
                    Extension("MACS2.IO.Parser",["MACS2/IO/Parser.pyx"], include_dirs=numpy_include_dir, extra_compile_args=extra_c_args),