blob: f7ee7de1500530cfa12a762ad863df8f1fd42d5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/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)
|