Fix call to mmap, so that it can be used on sparc.
[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 # The pathnames of the Flex and Bison programs, respectively.
23 #
24 BISON    = bison
25 FLEX     = flex
26
27 # Path to directory where object files should be stored during a build.
28 # Set LLVM_OBJ_DIR to "." if you do not want to use a separate place for
29 # object files.
30
31 #LLVM_OBJ_DIR = .
32 LLVM_OBJ_DIR := /localhome/$(USER)
33
34 # Path to location for LLVM front-end this should only be specified here if you
35 # want to override the value set in Makefile.$(uname)
36 #
37 #LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/
38
39 # When this setting is set to true, programs in the llvm/test/Programs hierarchy
40 # are not recompiled from source code.  Instead, the bytecode for the file is
41 # pulled from the BYTECODE_REPOSITORY directory.  This can be useful when disk
42 # space is limited or when you just don't want to spend time running the C
43 # frontend.
44 #
45 #USE_PRECOMPILED_BYTECODE := 1
46
47 # This path specifies the cannonical location of bytecode files for compiled
48 # versions of the test/Programs/* programs.  This is used as the bytecode source
49 # when USE_PRECOMPILED_BYTECODE is specified or when source code is not
50 # available for the program (such as SPEC).
51 #
52 BYTECODE_REPOSITORY := /home/vadve/lattner/LLVMPrograms
53
54 # Path to location for purify, this is only needed if you build with
55 # ENABLE_PURIFY=1
56
57 PURIFY = /usr/dcs/applications/purify/bin/purify
58
59 #
60 # SPEC benchmarks:
61 #       Set this variable to enable the use of the SPEC benchmarks.  You must
62 #       provide the SPEC benchmarks on your own.
63 #
64 USE_SPEC := 1
65
66 #
67 # Path to the SPEC benchmarks.  If you have the SPEC benchmarks, place the
68 # path here.
69 #
70 SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
71
72 #
73 # Path to the PAPI code.  This is used by the reoptimizer only.
74 #
75 PAPIDIR := /home/vadve/shared/papi-2.3.4.1
76
77 # These are options that can either be enabled here, or can be enabled on the
78 # make command line (ie, make ENABLE_PROFILING=1)
79 #
80
81 # When ENABLE_OPTIMIZED is enabled, Release builds of all of the LLVM code are
82 # turned on, and Debug builds are turned off.
83 #
84 #ENABLE_OPTIMIZED = 1
85
86 # When ENABLE_PROFILING is enabled, the llvm source base is built with profile
87 # information to allow gprof to be used to get execution frequencies.
88 #
89 #ENABLE_PROFILING = 1
90
91 #
92 # This open tells the Makefiles to produce verbose output.
93 # It essentially prints the commands that make is executing
94 #
95 #VERBOSE = 1
96
97 # When ENABLE_PURIFY is enabled, the LLVM tools are linked with purify (which
98 # must be locally installed) to allow for some automated memory error debugging.
99 #
100 #ENABLE_PURIFY    = 1
101