blob: 8d78ea4130c28b31581865a18ef476a782bd88f9 [file] [log] [blame]
Vikram S. Adve049857e2002-08-29 23:27:38 +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
Chris Lattnere2b54852002-09-19 19:59:42 +00007# 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#
14CXX = PATH=/usr/bin /usr/dcs/software/evaluation/bin/g++
Vikram S. Adve049857e2002-08-29 23:27:38 +000015
Chris Lattner2ad319c2002-09-19 21:33:10 +000016# We have the same problem with the CC binary, which use used by testcases for
17# native builds.
18#
Vikram S. Adve9c32df32002-09-20 14:01:14 +000019CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc
Chris Lattner2ad319c2002-09-19 21:33:10 +000020
John Criswelld17eae32003-05-29 18:51:11 +000021#
John Criswell794fcd22003-05-30 15:50:31 +000022# Path to the linker.
23#
24LD = ld
25
26#
27# Path to the archiver program.
28#
29AR_PATH = ar
30
31#
John Criswelld17eae32003-05-29 18:51:11 +000032# The pathnames of the Flex and Bison programs, respectively.
33#
34BISON = bison
35FLEX = flex
36
John Criswell8bff5092003-06-11 13:55:44 +000037#
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.
Vikram S. Adve049857e2002-08-29 23:27:38 +000041#
John Criswell8bff5092003-06-11 13:55:44 +000042#OBJ_ROOT = .
43OBJ_ROOT := /localhome/$(USER)
Vikram S. Adve049857e2002-08-29 23:27:38 +000044
Chris Lattner4512f332002-09-19 19:43:29 +000045# 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#
John Criswelld17eae32003-05-29 18:51:11 +000048#LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/
Chris Lattner66c1ab82002-09-18 19:32:17 +000049
Chris Lattnere281d302003-01-17 17:36:47 +000050# 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#
63BYTECODE_REPOSITORY := /home/vadve/lattner/LLVMPrograms
64
Chris Lattnere2b54852002-09-19 19:59:42 +000065# Path to location for purify, this is only needed if you build with
66# ENABLE_PURIFY=1
67#
68PURIFY = /usr/dcs/applications/purify/bin/purify
John Criswelld17eae32003-05-29 18:51:11 +000069
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#
75USE_SPEC := 1
76
77#
78# Path to the SPEC benchmarks. If you have the SPEC benchmarks, place the
79# path here.
80#
81SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec
82
83#
Chris Lattner5361c832003-05-29 19:16:55 +000084# Path to the PAPI code. This is used by the reoptimizer only.
John Criswelld17eae32003-05-29 18:51:11 +000085#
86PAPIDIR := /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
John Criswelld17eae32003-05-29 18:51:11 +000092# 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
Chris Lattner5361c832003-05-29 19:16:55 +000097# 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
John Criswelld17eae32003-05-29 18:51:11 +0000102#
103# This open tells the Makefiles to produce verbose output.
104# It essentially prints the commands that make is executing
105#
106#VERBOSE = 1
Chris Lattner5361c832003-05-29 19:16:55 +0000107
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