mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 04:39:51 +00:00
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
This commit is contained in:
parent
66c1ab8d76
commit
d3448cd7a6
@ -1,8 +1,8 @@
|
|||||||
#!/bin/csh -f
|
#!/bin/csh -f
|
||||||
|
|
||||||
## LLVMDIR is simply the directory where this script resides!
|
## LLVMDIR is simply the directory where this script resides!
|
||||||
set THISEXEC = $0 ## cannot use :h on $0 for some reason
|
set thisExec = $0 ## cannot use :h on $0 for some reason
|
||||||
set LLVMDIR = $THISEXEC:h
|
set LLVMDIR = `echo {$thisExec:h} | sed 's/\/utils$//'`
|
||||||
set EXEC = opt
|
set EXEC = opt
|
||||||
|
|
||||||
if ($#argv > 0) then
|
if ($#argv > 0) then
|
||||||
@ -13,4 +13,4 @@ if ($#argv > 0) then
|
|||||||
set EXEC = $argv[1]
|
set EXEC = $argv[1]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
gnumake && (cd $LLVMDIR/tools/$EXEC && gnumake)
|
gmake && (cd $LLVMDIR/tools/$EXEC && gmake)
|
||||||
|
Loading…
Reference in New Issue
Block a user