Commit Graph

63 Commits

Author SHA1 Message Date
John Criswell
246fcca318 Reconfigured the TOOLS variable so that it points to the current set of tools
built by the LLVM build.
Added a path for use with the TestRunner.sh script so that it can always find
the LLVM tools without having the user place them in his or her path.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6720 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-16 19:16:32 +00:00
John Criswell
01e6d2a4c7 Updated to use the new Makefile.common.
Replaced the hard-coded compiler variable with the one defined by
Makefile.config.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6680 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-11 13:56:55 +00:00
Vikram S. Adve
bae287671a Modify tracing rules to use opt -trace[m] instead of llc -trace[m].
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6607 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-04 14:24:52 +00:00
Vikram S. Adve
24672c3d12 Improved how tracing can be used:
-- added new targets %.trace-out-llc and %.trace-out-cbe
-- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6585 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-03 18:56:57 +00:00
Chris Lattner
707af6efec Add support for C++ tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6540 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-02 05:49:11 +00:00
Chris Lattner
433f1d8c1d Add flexibility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6246 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-17 22:33:18 +00:00
Chris Lattner
a9028e68b1 Add support for the LLVM C++ frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6167 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-13 20:06:00 +00:00
Chris Lattner
98abb52867 Remove dead makefile code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6095 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 21:41:43 +00:00
Chris Lattner
5047688ee5 * Remove dead hunk of makefile fragment for dealing with sun compiler
* Move LLC code gen stuff into test/Programs/Makefile.programs


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6089 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-11 18:49:10 +00:00
Chris Lattner
e0d8daadad Enable the new C front-end for targets which define LLVMGCCARCH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6065 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-09 04:19:58 +00:00
Chris Lattner
37e6f7095b -ENABLE_STATS also enables timing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5386 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-21 21:31:29 +00:00
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