blob: 81fd80d4f2feadd0197ca2c34af0a15669069668 [file] [log] [blame]
John Criswell7a73b802003-06-30 21:59:07 +00001#===-- 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#
8# Target operating system for which LLVM will be compiled.
9#
10OS=@OS@
11
12# Path to the C++ compiler to use. This is an optional setting, which defaults
13# to whatever your gmake defaults to.
14#
15# Under Linux, for some reason the compiler driver wants to search the PATH to
16# find the system assembler, which breaks if the LLVM assembler is in our path.
17# Hack it to use the assembler in /usr/bin directly.
18#
19CXX = @CXX@
20
21# We have the same problem with the CC binary, which use used by testcases for
22# native builds.
23#
24CC := @CC@
25
26#
27# Compilation flags for the C and C++ compilers.
28#
29CPPFLAGS=@DEFS@
30CCFLAGS=@DEFS@
31LDFLAGS=@LDFLAGS@
32LIBS=@LIBS@
33
34#
35# Libraries needed by tools
36#
37TOOLLINKOPTS=@LIBS@
38
39#
40# Path to the archiver program.
41#
42AR_PATH = @AR@
43
44#
45# The pathnames of the Flex and Bison programs, respectively.
46#
47BISON = @YACC@
48FLEX = @LEX@
49
50#
51# Paths to miscellaneous programs.
52#
53SED = @SED@
54RM = @RM@
55ECHO = @ECHO@
56MKDIR = @abs_top_srcdir@/mkinstalldirs
57DATE = @DATE@
58MV = @MV@
59INSTALL = @INSTALL@
60DOT = @DOT@
61ETAGS = @ETAGS@
62
63#
64# Determine the target for which LLVM should generate code.
65#
66LLVMGCCARCH := @target@/3.4-llvm
67
68# Path to directory where object files should be stored during a build.
69# Set OBJ_ROOT to "." if you do not want to use a separate place for
70# object files.
71#
72#OBJ_ROOT = .
73OBJ_ROOT := @OBJROOT@
74
75# Path to location for LLVM front-end this should only be specified here if you
76# want to override the value set in Makefile.$(uname)
77#
78LLVMGCCDIR := @LLVMGCCDIR@
79
80# When this setting is set to true, programs in the llvm/test/Programs hierarchy
81# are not recompiled from source code. Instead, the bytecode for the file is
82# pulled from the BYTECODE_REPOSITORY directory. This can be useful when disk
83# space is limited or when you just don't want to spend time running the C
84# frontend.
85#
86#USE_PRECOMPILED_BYTECODE := 1
87@UPB@
88
89# This path specifies the cannonical location of bytecode files for compiled
90# versions of the test/Programs/* programs. This is used as the bytecode source
91# when USE_PRECOMPILED_BYTECODE is specified or when source code is not
92# available for the program (such as SPEC).
93#
94BYTECODE_REPOSITORY := @BCR@
95
96# Path to location for purify, this is only needed if you build with
97# ENABLE_PURIFY=1
98#
99PURIFY = @PURIFY@
100
101#
102# SPEC benchmarks:
103# Set the USE_SPEC variable to enable the use of the SPEC benchmarks.
104# You must provide the SPEC benchmarks on your own.
105#
106@USE_SPEC@
107
108#
109# Path to the SPEC benchmarks. If you have the SPEC benchmarks, place the
110# path here.
111#
112#SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
113SPEC_ROOT := @SPEC_ROOT@
114
115#
116# Path to the PAPI code. This is used by the reoptimizer only.
117#
118#PAPIDIR := /home/vadve/shared/papi-2.3.4.1
119PAPIDIR := @PAPIDIR@
120
121# These are options that can either be enabled here, or can be enabled on the
122# make command line (ie, make ENABLE_PROFILING=1)
123#
124
125# When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
126# turned on, and Debug builds are turned off.
127#
128#ENABLE_OPTIMIZED = 1
129@ENABLE_OPTIMIZED@
130
131# When ENABLE_PROFILING is enabled, the llvm source base is built with profile
132# information to allow gprof to be used to get execution frequencies.
133#
134#ENABLE_PROFILING = 1
135@ENABLE_PROFILING@
136
137#
138# This open tells the Makefiles to produce verbose output.
139# It essentially prints the commands that make is executing
140#
141#VERBOSE = 1
142@ENABLE_VERBOSE@
143
144# When ENABLE_PURIFY is set to 1, the LLVM tools are linked with purify (which
145# must be locally installed) to allow for some automated memory error debugging.
146#
147#ENABLE_PURIFY = 1
148@ENABLE_PURIFY@
149
150#
151# Enable JIT for this platform
152#
153@JIT@
154
155#
156# Disable LLC diffs for testing.
157#
158@DISABLE_LLC_DIFFS@
159