Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Dunbar f3537e04bb Update makellvm to return correct result code.
llvm-svn: 54756
2008-08-13 20:43:56 +00:00
Chris Lattner a673023852 remove obsolete path
llvm-svn: 34273
2007-02-14 07:39:35 +00:00
Chris Lattner b30c947ceb make is the standard name, not gmake
llvm-svn: 22573
2005-08-02 00:10:52 +00:00
Vikram S. Adve a9b0673a68 Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).

llvm-svn: 8525
2003-09-15 11:18:36 +00:00
Vikram S. Adve 20c8c040f5 Update makellvm to work with the brave new world of separate obj-root trees.
With these changes, you can still run makellvm directly from your source tree
as follows:
  % makellvm [toolname]	## looks for obj-root in default places (see below)
or
  % makellvm -obj obj-root [toolname]	## specify obj-root explicitly.

With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.

llvm-svn: 8509
2003-09-14 23:44:31 +00:00
Vikram S. Adve 3b82d389b6 Fix syntax error when makellvm is run in an invalid directory.
Add debugging support.

llvm-svn: 8389
2003-09-08 15:32:47 +00:00
Vikram S. Adve c3c1a9ccdc (1) Pass 'VAR=string' arguments to gmake
(2) Detect LLVMDIR using the LEVEL variable in Makefile.
(3) To perform #2 propertly, use the same Makefile search rules as gmake.

llvm-svn: 7228
2003-07-22 12:35:28 +00:00
Vikram S. Adve e66e34a6e9 Add support for passing in arbitrary flags to gmake (except -n and -h
which are interpreted by this script).

llvm-svn: 3818
2002-09-19 14:54:53 +00:00
Vikram S. Adve 7369140fee Fix to work in new location (utils/) and to use gmake instead of gnumake
since gnumake doesn't exist on our new spiffy Linux machines.

llvm-svn: 3815
2002-09-18 23:22:27 +00:00
Vikram S. Adve 49ffec6b39 Simplify significantly (and fix syntax error).
llvm-svn: 3730
2002-09-15 18:22:47 +00:00
Vikram S. Adve 9557560a9a Use much better method to find the llvmbase directory.
Also, add -h option to print usage information.

llvm-svn: 3729
2002-09-15 16:58:30 +00:00
Vikram S. Adve 288e2ce02f Shell-script to build current directory and then link one tool (default: opt)
llvm-svn: 3727
2002-09-15 16:33:32 +00:00