mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
4de8721e87
since gnumake doesn't exist on our new spiffy Linux machines. llvm-svn: 3815
17 lines
420 B
Tcsh
Executable File
17 lines
420 B
Tcsh
Executable File
#!/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 = `echo {$thisExec:h} | sed 's/\/utils$//'`
|
|
set EXEC = opt
|
|
|
|
if ($#argv > 0) then
|
|
if ($argv[1] == "-h") then
|
|
echo 'USAGE: makellvm [toolname] (toolname defaults to "opt").'
|
|
exit 0
|
|
endif
|
|
set EXEC = $argv[1]
|
|
endif
|
|
|
|
gmake && (cd $LLVMDIR/tools/$EXEC && gmake)
|