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