Commit Graph

98 Commits

Author SHA1 Message Date
Chris Lattner a604a85c55 Expose a LJELLO variable
llvm-svn: 4495
2002-11-02 01:41:07 +00:00
Chris Lattner fb4c971584 MAke sure llc output is regenerated if the LLC binary changes.
llvm-svn: 4164
2002-10-14 06:12:10 +00:00
Chris Lattner ce6b87be98 Allow production of -stats output for benchmarks by specifying
ENABLE_STATS=1 on the make command line.

llvm-svn: 3988
2002-09-30 19:23:55 +00:00
Chris Lattner 36fb08ee53 Enable buidling of programs on Linux again
llvm-svn: 3984
2002-09-29 22:58:51 +00:00
Chris Lattner 4e6598b325 Reenable these options because they break testing on sparc without them.
Conditionalizing them on DISABLE_LLC means they aren't enabled under linux.

llvm-svn: 3837
2002-09-19 21:46:03 +00:00
Chris Lattner e9bfedb701 Point gccld to the correct library directory.
llvm-svn: 3827
2002-09-19 19:22:30 +00:00
Chris Lattner 5a67f4725e It turns out that the cannonical name for the llvm-gcc compiler is, well
llvm-gcc, not gcc.

llvm-svn: 3824
2002-09-19 19:06:05 +00:00
Vikram S. Adve c1a5301fa6 Avoid Solaris-specific defines.
llvm-svn: 3823
2002-09-19 18:45:11 +00:00
Vikram S. Adve 12e350e5ed Eliminate hardcoded paths using LLVMGCCDIR variable.
llvm-svn: 3529
2002-08-30 03:27:36 +00:00
Chris Lattner 83a024ab12 Tools are now moved into /shared
llvm-svn: 3292
2002-08-12 21:20:59 +00:00
Chris Lattner 0da785168b Expose the analyzer
llvm-svn: 2768
2002-06-24 21:35:50 +00:00
Chris Lattner dc682da4fc Remove unneccesary path from link line now
llvm-svn: 2679
2002-05-20 21:47:40 +00:00
Vikram S. Adve 423960a8a9 Fix libs and includes for compiling with llc.
llvm-svn: 2654
2002-05-19 15:47:52 +00:00
Chris Lattner 213ab21812 don't delete intermediate files!
llvm-svn: 2136
2002-04-07 08:11:07 +00:00
Chris Lattner 5b7efb83b1 Don't link in library that cannot be found, this should be removed eventually.
llvm-svn: 2111
2002-04-04 19:27:43 +00:00
Vikram S. Adve 2d3ea22379 Fix out-of-date name.
llvm-svn: 1959
2002-03-24 03:18:49 +00:00
Vikram S. Adve bd10b8e1d7 Fix libraries.
llvm-svn: 1912
2002-03-18 03:53:22 +00:00
Chris Lattner 2a00ac1e7e Add var to find GCCLD tool
llvm-svn: 1846
2002-03-11 17:46:34 +00:00
Chris Lattner a899644808 Add comments
Add rules to compile a program with LLC to machine code and an executable

llvm-svn: 1735
2002-02-12 15:39:38 +00:00
Chris Lattner a7d742f683 Add TESTRUNR var
Correctly create directory for .bc target

llvm-svn: 1623
2002-02-01 04:25:12 +00:00
Chris Lattner cfc6065d8a Forgot to force
llvm-svn: 1598
2002-01-31 00:27:32 +00:00
Chris Lattner aeabeb36eb Make gcc tests depend on the part of GCC that actually gets updated.
llvm-svn: 1589
2002-01-26 22:48:08 +00:00
Chris Lattner 0343be4ff6 More rules checked in
llvm-svn: 1571
2002-01-23 21:36:59 +00:00
Chris Lattner e29baab985 Removal of more unnecesary stuff
llvm-svn: 1557
2002-01-23 05:50:04 +00:00
Chris Lattner 11ea49931a Move some makefile stuff to subdirectories
llvm-svn: 1543
2002-01-22 16:56:41 +00:00
Vikram S. Adve 10e0d8d4e3 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!

llvm-svn: 1490
2001-12-15 01:13:42 +00:00
Vikram S. Adve 45ea2fd95e Added TRACEM option. Use -g when building native code for tests.
llvm-svn: 1438
2001-12-12 15:19:55 +00:00
Chris Lattner a6f3071b05 Use _LOCAL_ gccas to build instead of Chris's
llvm-svn: 1436
2001-12-09 16:55:43 +00:00
Chris Lattner c047f4eb02 Overwrite files when linked
Remove native files when cleaned

llvm-svn: 1289
2001-11-13 05:44:27 +00:00
Vikram S. Adve 097b7cb52a 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.

llvm-svn: 1281
2001-11-12 23:10:29 +00:00
Vikram S. Adve b4489fb853 Use cc instead of gcc to compile *.native
llvm-svn: 1250
2001-11-10 14:23:54 +00:00
Vikram S. Adve b92658976a Eliminate cleaning step for individual %.bc files created by our gcc.
llvm-svn: 1211
2001-11-08 18:42:08 +00:00
Vikram S. Adve 7048762a3e Took out .clean.bc target.
llvm-svn: 1210
2001-11-08 18:25:05 +00:00
Vikram S. Adve 17bfd13a39 Run cleaning pass only when linking multiple files.
llvm-svn: 1209
2001-11-08 18:14:20 +00:00
Vikram S. Adve 04a251d785 Add cleaning pass after linking.
llvm-svn: 1208
2001-11-08 18:13:17 +00:00
Vikram S. Adve 7543782956 Keep *.s files while we're debugging the native code.
Also, fix rule for $(LLCLIBS).

llvm-svn: 1206
2001-11-08 14:31:05 +00:00
Vikram S. Adve 7a3c4070d6 Add rule for %.clean.bc.
llvm-svn: 1204
2001-11-08 05:28:08 +00:00
Vikram S. Adve b8157d5a29 Roll back all these changes that have broken Makefile.target again.
llvm-svn: 1172
2001-11-07 12:29:40 +00:00
Chris Lattner 74a4698aaa Minor fixes
llvm-svn: 1164
2001-11-06 22:53:17 +00:00
Chris Lattner 82b7872326 Build .bc from .c better.
llvm-svn: 1158
2001-11-06 20:44:15 +00:00
Chris Lattner 21af446166 Don't forget to make the clean version.
llvm-svn: 1157
2001-11-06 20:23:50 +00:00
Vikram S. Adve 096a76aa92 Really fix Makefile to compile individual tests and Olden codes.
by using a better naming scheme.

llvm-svn: 1156
2001-11-06 17:09:49 +00:00
Chris Lattner 0c993260fe Reorder paramters to make the command line more easily modifiable
llvm-svn: 1153
2001-11-06 08:34:56 +00:00
Chris Lattner 7bb67c8ab8 Fix makefile to compile olden and main benchmarks
llvm-svn: 1142
2001-11-05 19:43:24 +00:00
Chris Lattner ad480c5a34 Make the olden benchmarks compile again
llvm-svn: 1139
2001-11-05 18:25:37 +00:00
Vikram S. Adve d3be60db35 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).

llvm-svn: 1134
2001-11-05 00:35:56 +00:00
Vikram S. Adve 4d04e00072 Delete rule to disassemble %.bc -- need to make it effective only when
%.ll is not a pre-existing file.

llvm-svn: 1133
2001-11-05 00:23:25 +00:00
Vikram S. Adve e943db9be9 Put common rules for compiling programs into Makefile.target.
llvm-svn: 1130
2001-11-05 00:18:30 +00:00