Include <cmath> instead of <math.h>
[oota-llvm.git] / Makefile.config
1 #===-- Makefile.config - Local configuration for LLVM ------*- makefile -*--====
2 #
3 # This file is included by Makefile.common.  It defines paths and other
4 # values specific to a particular installation of LLVM.
5 #===-----------------------------------------------------------------------====
6
7 # Path to the C++ compiler to use.  This is an optional setting, which defaults
8 # to whatever your gmake defaults to.
9 #
10 # Under Linux, for some reason the compiler driver wants to search the PATH to
11 # find the system assembler, which breaks if the LLVM assembler is in our path.
12 # Hack it to use the assembler in /usr/bin directly.
13 #
14 CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
15
16 # We have the same problem with the CC binary, which use used by testcases for
17 # native builds.
18 #
19 CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc
20
21 #
22 # Path to the linker.
23 #
24 LD = ld
25
26 #
27 # Path to the archiver program.
28 #
29 AR_PATH = ar
30
31 #
32 # The pathnames of the Flex and Bison programs, respectively.
33 #
34 BISON    = bison
35 FLEX     = flex
36
37 #
38 # Path OBJ_ROOT to the directory where object files should be stored during a
39 # build.  Set to "." if you do not want to use a separate place for object
40 # files.
41
42 #OBJ_ROOT = .
43 OBJ_ROOT := /localhome/$(USER)
44
45 # Path to location for LLVM front-end this should only be specified here if you
46 # want to override the value set in Makefile.$(uname)
47 #
48 #LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/
49
50 # When this setting is set to true, programs in the llvm/test/Programs hierarchy
51 # are not recompiled from source code.  Instead, the bytecode for the file is
52 # pulled from the BYTECODE_REPOSITORY directory.  This can be useful when disk
53 # space is limited or when you just don't want to spend time running the C
54 # frontend.
55 #
56 #USE_PRECOMPILED_BYTECODE := 1
57
58 # This path specifies the cannonical location of bytecode files for compiled
59 # versions of the test/Programs/* programs.  This is used as the bytecode source
60 # when USE_PRECOMPILED_BYTECODE is specified or when source code is not
61 # available for the program (such as SPEC).
62 #
63 BYTECODE_REPOSITORY := /home/vadve/lattner/LLVMPrograms
64
65 # Path to location for purify, this is only needed if you build with
66 # ENABLE_PURIFY=1
67
68 PURIFY = /usr/dcs/applications/purify/bin/purify
69
70 #
71 # SPEC benchmarks:
72 #       Set this variable to enable the use of the SPEC benchmarks.  You must
73 #       provide the SPEC benchmarks on your own.
74 #
75 USE_SPEC := 1
76
77 #
78 # Path to the SPEC benchmarks.  If you have the SPEC benchmarks, place the
79 # path here.
80 #
81 SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
82
83 #
84 # Path to the PAPI code.  This is used by the reoptimizer only.
85 #
86 PAPIDIR := /home/vadve/shared/papi-2.3.4.1
87
88 # These are options that can either be enabled here, or can be enabled on the
89 # make command line (ie, make ENABLE_PROFILING=1)
90 #
91
92 # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
93 # turned on, and Debug builds are turned off.
94 #
95 #ENABLE_OPTIMIZED = 1
96
97 # When ENABLE_PROFILING is enabled, the llvm source base is built with profile
98 # information to allow gprof to be used to get execution frequencies.
99 #
100 #ENABLE_PROFILING = 1
101
102 #
103 # This open tells the Makefiles to produce verbose output.
104 # It essentially prints the commands that make is executing
105 #
106 #VERBOSE = 1
107
108 # When ENABLE_PURIFY is enabled, the LLVM tools are linked with purify (which
109 # must be locally installed) to allow for some automated memory error debugging.
110 #
111 #ENABLE_PURIFY    = 1
112