diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-18 23:22:27 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-09-18 23:22:27 +0000 |
commit | d3448cd7a69d2c8ccb0a5464cf564c7447385b14 (patch) | |
tree | fa6aa39961a117474dce123288fa15db718c8780 /utils | |
parent | 66c1ab8d766d9632f955de3ea8b5c4dd5573e121 (diff) | |
download | external_llvm-d3448cd7a69d2c8ccb0a5464cf564c7447385b14.zip external_llvm-d3448cd7a69d2c8ccb0a5464cf564c7447385b14.tar.gz external_llvm-d3448cd7a69d2c8ccb0a5464cf564c7447385b14.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3815 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/makellvm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/makellvm b/utils/makellvm index ad92e5a..f7ee7de 100755 --- a/utils/makellvm +++ b/utils/makellvm @@ -1,8 +1,8 @@ #!/bin/csh -f ## LLVMDIR is simply the directory where this script resides! -set THISEXEC = $0 ## cannot use :h on $0 for some reason -set LLVMDIR = $THISEXEC:h +set thisExec = $0 ## cannot use :h on $0 for some reason +set LLVMDIR = `echo {$thisExec:h} | sed 's/\/utils$//'` set EXEC = opt if ($#argv > 0) then @@ -13,4 +13,4 @@ if ($#argv > 0) then set EXEC = $argv[1] endif -gnumake && (cd $LLVMDIR/tools/$EXEC && gnumake) +gmake && (cd $LLVMDIR/tools/$EXEC && gmake) |