[llvm-commits] CVS: llvm/utils/makellvm
Vikram Adve
vadve at psmith.cs.uiuc.edu
Wed Sep 18 18:23:01 PDT 2002
Changes in directory llvm/utils:
makellvm updated: 1.3 -> 1.4
---
Log message:
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.
---
Diffs of the changes:
Index: llvm/utils/makellvm
diff -u llvm/utils/makellvm:1.3 llvm/utils/makellvm:1.4
--- llvm/utils/makellvm:1.3 Sun Sep 15 13:22:47 2002
+++ llvm/utils/makellvm Wed Sep 18 18:22:27 2002
@@ -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 @@
set EXEC = $argv[1]
endif
-gnumake && (cd $LLVMDIR/tools/$EXEC && gnumake)
+gmake && (cd $LLVMDIR/tools/$EXEC && gmake)
More information about the llvm-commits
mailing list