Vikram S. Adve | 049857e | 2002-08-29 23:27:38 +0000 | [diff] [blame] | 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 | |
Chris Lattner | e2b5485 | 2002-09-19 19:59:42 +0000 | [diff] [blame] | 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++ |
Vikram S. Adve | 049857e | 2002-08-29 23:27:38 +0000 | [diff] [blame] | 15 | |
Chris Lattner | 2ad319c | 2002-09-19 21:33:10 +0000 | [diff] [blame] | 16 | # We have the same problem with the CC binary, which use used by testcases for |
| 17 | # native builds. |
| 18 | # |
Vikram S. Adve | 9c32df3 | 2002-09-20 14:01:14 +0000 | [diff] [blame] | 19 | CC := PATH=/usr/bin /usr/dcs/software/evaluation/bin/gcc |
Chris Lattner | 2ad319c | 2002-09-19 21:33:10 +0000 | [diff] [blame] | 20 | |
John Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 21 | # |
John Criswell | 794fcd2 | 2003-05-30 15:50:31 +0000 | [diff] [blame] | 22 | # Path to the linker. |
| 23 | # |
| 24 | LD = ld |
| 25 | |
| 26 | # |
| 27 | # Path to the archiver program. |
| 28 | # |
| 29 | AR_PATH = ar |
| 30 | |
| 31 | # |
John Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 32 | # The pathnames of the Flex and Bison programs, respectively. |
| 33 | # |
| 34 | BISON = bison |
| 35 | FLEX = flex |
| 36 | |
John Criswell | 8bff509 | 2003-06-11 13:55:44 +0000 | [diff] [blame] | 37 | # |
| 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. Adve | 049857e | 2002-08-29 23:27:38 +0000 | [diff] [blame] | 41 | # |
John Criswell | 8bff509 | 2003-06-11 13:55:44 +0000 | [diff] [blame] | 42 | #OBJ_ROOT = . |
| 43 | OBJ_ROOT := /localhome/$(USER) |
Vikram S. Adve | 049857e | 2002-08-29 23:27:38 +0000 | [diff] [blame] | 44 | |
Chris Lattner | 4512f33 | 2002-09-19 19:43:29 +0000 | [diff] [blame] | 45 | # 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 Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 48 | #LLVMGCCDIR := /home/vadve/lattner/local/x86/llvm-gcc/ |
Chris Lattner | 66c1ab8 | 2002-09-18 19:32:17 +0000 | [diff] [blame] | 49 | |
Chris Lattner | e281d30 | 2003-01-17 17:36:47 +0000 | [diff] [blame] | 50 | # 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 | # |
| 63 | BYTECODE_REPOSITORY := /home/vadve/lattner/LLVMPrograms |
| 64 | |
Chris Lattner | e2b5485 | 2002-09-19 19:59:42 +0000 | [diff] [blame] | 65 | # Path to location for purify, this is only needed if you build with |
| 66 | # ENABLE_PURIFY=1 |
| 67 | # |
| 68 | PURIFY = /usr/dcs/applications/purify/bin/purify |
John Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 69 | |
| 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 | # |
| 75 | USE_SPEC := 1 |
| 76 | |
| 77 | # |
| 78 | # Path to the SPEC benchmarks. If you have the SPEC benchmarks, place the |
| 79 | # path here. |
| 80 | # |
| 81 | SPEC_ROOT := /home/vadve/shared/benchmarks/speccpu2000/benchspec |
| 82 | |
| 83 | # |
Chris Lattner | 5361c83 | 2003-05-29 19:16:55 +0000 | [diff] [blame] | 84 | # Path to the PAPI code. This is used by the reoptimizer only. |
John Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 85 | # |
| 86 | PAPIDIR := /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 Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 92 | # 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 Lattner | 5361c83 | 2003-05-29 19:16:55 +0000 | [diff] [blame] | 97 | # 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 Criswell | d17eae3 | 2003-05-29 18:51:11 +0000 | [diff] [blame] | 102 | # |
| 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 Lattner | 5361c83 | 2003-05-29 19:16:55 +0000 | [diff] [blame] | 107 | |
| 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 | |