1 #===-- Makefile.config - Local configuration for LLVM ------*- makefile -*--====
3 # This file is included by Makefile.common. It defines paths and other
4 # values specific to a particular installation of LLVM.
5 #===-----------------------------------------------------------------------====
8 # Target operating system for which LLVM will be compiled.
13 # Target hardware architecture
17 # Path to the C++ compiler to use. This is an optional setting, which defaults
18 # to whatever your gmake defaults to.
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.
26 # We have the same problem with the CC binary, which use used by testcases for
32 # Compilation flags for the C and C++ compilers.
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.
44 # Removed since it prevents the tests from working properly.
49 # Libraries needed by tools
54 # Path to the archiver program.
59 # The pathnames of the Flex and Bison programs, respectively.
65 # Paths to miscellaneous programs.
70 MKDIR = @abs_top_srcdir@/autoconf/mkinstalldirs
78 # Determine the target for which LLVM should generate code.
80 LLVMGCCARCH := @target@/3.4-llvm
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
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)
92 LLVMGCCDIR := @LLVMGCCDIR@
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
100 #USE_PRECOMPILED_BYTECODE := 1
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).
108 BYTECODE_REPOSITORY := @BCR@
110 # Path to location for purify, this is only needed if you build with
117 # Set the USE_SPEC variable to enable the use of the SPEC benchmarks.
118 # You must provide the SPEC benchmarks on your own.
123 # Path to the SPEC benchmarks. If you have the SPEC benchmarks, place the
126 #SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
127 SPEC_ROOT := @SPEC_ROOT@
130 # Path to the PAPI code. This is used by the reoptimizer only.
132 #PAPIDIR := /home/vadve/shared/papi-2.3.4.1
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)
139 # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
140 # turned on, and Debug builds are turned off.
142 #ENABLE_OPTIMIZED = 1
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.
148 #ENABLE_PROFILING = 1
151 # This option tells the Makefiles to produce verbose output.
152 # It essentially prints the commands that make is executing
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.
163 # Enable JIT for this platform
168 # Disable LLC diffs for testing.