summaryrefslogtreecommitdiffstats
path: root/llvm/utils/makellvm
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-09-18 23:22:27 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-09-18 23:22:27 +0000
commit7369140fee244ec5a85a2db92c4e7e02187f1e92 (patch)
treea88643f59f0653928388f9557f55e2bfdec861d7 /llvm/utils/makellvm
parent2e3536a85fb33fd670b352e3e6382010333bdb8e (diff)
downloadbcm5719-llvm-7369140fee244ec5a85a2db92c4e7e02187f1e92.tar.gz
bcm5719-llvm-7369140fee244ec5a85a2db92c4e7e02187f1e92.zip
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
Diffstat (limited to 'llvm/utils/makellvm')
-rwxr-xr-xllvm/utils/makellvm6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/makellvm b/llvm/utils/makellvm
index ad92e5ac64d..f7ee7de1500 100755
--- a/llvm/utils/makellvm
+++ b/llvm/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)
OpenPOWER on IntegriCloud