File: Linux.cfg

package info (click to toggle)
torch3 3.1-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 2,972 kB
  • ctags: 2,743
  • sloc: cpp: 24,245; python: 299; makefile: 153
file content (51 lines) | stat: -rw-r--r-- 1,095 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[torch]

# Need more verbosity ?
#verbose = 1

# Packages you want to use
packages = 

# Magik key if you want several libraries
# for the same platform
#magic_key = 

# Compiler, linker and archiver
compiler = g++
linker = g++
#archiver = g++ -shared -o
archiver = ar -rus

# Your librairies
# (for example "-lm", but not needed on most systems...)
libraries = 

# Your includes
# (for example -I/usr/local/special)
includes = 

# optimize mode
debug = opt
# debug mode
#debug = dbg

# double version
#floating = double
# float version
floating = float

# Debug double mode
dbg_double = -g -Wall -DUSE_DOUBLE -DDEBUG

# Debug float mode
dbg_float = -g -Wall -DDEBUG

# Optimized double mode
opt_double = -Wall -O2 -ffast-math -mcpu=i686 -march=i686 -malign-double -DUSE_DOUBLE
#opt_double = -Wall -O2 -ffast-math -mtune=i686 -march=i686 -malign-double -DUSE_DOUBLE

# Optimized float mode
opt_float = -Wall -O2 -ffast-math -mcpu=i686 -march=i686 -malign-double
#opt_float = -Wall -O2 -ffast-math -mtune=i686 -march=i686 -malign-double

# Note: gcc 3.4 does not support mcpu (replaced by mtune)