Commit Graph

52 Commits

Author SHA1 Message Date
Chris Lattner
995663e58d Add support for make TEST=foo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5333 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-16 20:26:29 +00:00
Chris Lattner
332ca6ccd5 Jello is going away
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5117 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-23 23:47:20 +00:00
Chris Lattner
8437f4a7e4 Add support for bugpoint
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4768 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-19 21:57:18 +00:00
Chris Lattner
60afae448a Allow tests to be run with release tools when ENABLE_OPTIMIZED=1
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4650 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-09 00:50:02 +00:00
Chris Lattner
8b6c5e4412 Expose a LJELLO variable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4495 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-02 01:41:07 +00:00
Chris Lattner
5f8bd7d966 MAke sure llc output is regenerated if the LLC binary changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4164 91177308-0d34-0410-b5e6-96231b3b80d8
2002-10-14 06:12:10 +00:00
Chris Lattner
9551817d4f Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3988 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-30 19:23:55 +00:00
Chris Lattner
76e51a87e7 Enable buidling of programs on Linux again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3984 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-29 22:58:51 +00:00
Chris Lattner
3aaff7eebd Reenable these options because they break testing on sparc without them.
Conditionalizing them on DISABLE_LLC means they aren't enabled under linux.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3837 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 21:46:03 +00:00
Chris Lattner
90c7d67b9d Point gccld to the correct library directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3827 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 19:22:30 +00:00
Chris Lattner
ecd3546ff6 It turns out that the cannonical name for the llvm-gcc compiler is, well
llvm-gcc, not gcc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3824 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 19:06:05 +00:00
Vikram S. Adve
c63ffc54e5 Avoid Solaris-specific defines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3823 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-19 18:45:11 +00:00
Vikram S. Adve
f9017b810a Eliminate hardcoded paths using LLVMGCCDIR variable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3529 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-30 03:27:36 +00:00
Chris Lattner
c0c4d70ad8 Tools are now moved into /shared
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3292 91177308-0d34-0410-b5e6-96231b3b80d8
2002-08-12 21:20:59 +00:00
Chris Lattner
65fbd4a212 Expose the analyzer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2768 91177308-0d34-0410-b5e6-96231b3b80d8
2002-06-24 21:35:50 +00:00
Chris Lattner
1458cef6b8 Remove unneccesary path from link line now
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2679 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 21:47:40 +00:00
Vikram S. Adve
2a4d8d2461 Fix libs and includes for compiling with llc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2654 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-19 15:47:52 +00:00
Chris Lattner
aef6546191 don't delete intermediate files!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2136 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-07 08:11:07 +00:00
Chris Lattner
2c024a78fc Don't link in library that cannot be found, this should be removed eventually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2111 91177308-0d34-0410-b5e6-96231b3b80d8
2002-04-04 19:27:43 +00:00
Vikram S. Adve
c99afb88ab Fix out-of-date name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1959 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-24 03:18:49 +00:00
Vikram S. Adve
d79b4eb506 Fix libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1912 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 03:53:22 +00:00
Chris Lattner
9dfdf0f1e6 Add var to find GCCLD tool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1846 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 17:46:34 +00:00
Chris Lattner
6723addbc7 Add comments
Add rules to compile a program with LLC to machine code and an executable


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1735 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-12 15:39:38 +00:00
Chris Lattner
fbda7a0297 Add TESTRUNR var
Correctly create directory for .bc target


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1623 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-01 04:25:12 +00:00
Chris Lattner
bafff3380e Forgot to force
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1598 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-31 00:27:32 +00:00
Chris Lattner
296a360dc5 Make gcc tests depend on the part of GCC that actually gets updated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1589 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-26 22:48:08 +00:00
Chris Lattner
52a4e85a98 More rules checked in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1571 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 21:36:59 +00:00
Chris Lattner
747604218f Removal of more unnecesary stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1557 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 05:50:04 +00:00
Chris Lattner
c89764e80c Move some makefile stuff to subdirectories
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1543 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-22 16:56:41 +00:00
Vikram S. Adve
977fa8df93 Renamed Makefile.target to Makefile.tests and folded in
Chris's Makefile.tests used to build and test single-source tests
(but with some uses of Output/ directory eliminated for now).
Let's not create two versions of this file!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1490 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-15 01:13:42 +00:00
Vikram S. Adve
2836e8e7aa Added TRACEM option. Use -g when building native code for tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1438 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-12 15:19:55 +00:00
Chris Lattner
e5b27bd320 Use _LOCAL_ gccas to build instead of Chris's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1436 91177308-0d34-0410-b5e6-96231b3b80d8
2001-12-09 16:55:43 +00:00
Chris Lattner
02b5d1386e Overwrite files when linked
Remove native files when cleaned


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1289 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-13 05:44:27 +00:00
Vikram S. Adve
0ab42dce08 Distinguish LOCAL_LDFLAGS and LOCAL_LCFLAGS from LOCAL_CFLAGS.
In particular, never put -lm in LOCAL_[L]CFLAGS because it
disables an implicit rule that has LOCAL_CFLAGS as a prerequisite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1281 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-12 23:10:29 +00:00
Vikram S. Adve
409ffcc918 Use cc instead of gcc to compile *.native
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1250 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-10 14:23:54 +00:00
Vikram S. Adve
19560c3fd3 Eliminate cleaning step for individual %.bc files created by our gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1211 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:42:08 +00:00
Vikram S. Adve
f87fc32e35 Took out .clean.bc target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1210 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:25:05 +00:00
Vikram S. Adve
5efe19801e Run cleaning pass only when linking multiple files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1209 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:14:20 +00:00
Vikram S. Adve
9af7022d55 Add cleaning pass after linking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1208 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 18:13:17 +00:00
Vikram S. Adve
3bc29389c5 Keep *.s files while we're debugging the native code.
Also, fix rule for $(LLCLIBS).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1206 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 14:31:05 +00:00
Vikram S. Adve
e78ea6782b Add rule for %.clean.bc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1204 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-08 05:28:08 +00:00
Vikram S. Adve
1f64ad998a Roll back all these changes that have broken Makefile.target again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1172 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-07 12:29:40 +00:00
Chris Lattner
4bf36bb67f Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1164 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 22:53:17 +00:00
Chris Lattner
54b7741dff Build .bc from .c better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1158 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 20:44:15 +00:00
Chris Lattner
054385a11a Don't forget to make the clean version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1157 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 20:23:50 +00:00
Vikram S. Adve
a46fb6bb90 Really fix Makefile to compile individual tests and Olden codes.
by using a better naming scheme.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1156 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 17:09:49 +00:00
Chris Lattner
54bc6b3166 Reorder paramters to make the command line more easily modifiable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1153 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-06 08:34:56 +00:00
Chris Lattner
93ee0a165a Fix makefile to compile olden and main benchmarks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1142 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 19:43:24 +00:00
Chris Lattner
8448fb5b24 Make the olden benchmarks compile again
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1139 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 18:25:37 +00:00
Vikram S. Adve
772d091e00 Make gcc generate assembly files (%.ll) until Chris has a stable
version of his gccas.  Plus another dumb bug fix (the bug, not the fix).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1134 91177308-0d34-0410-b5e6-96231b3b80d8
2001-11-05 00:35:56 +00:00