File: llvmcheck.sh

package info (click to toggle)
clamav 0.98.7%2Bdfsg-0%2Bdeb6u2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 60,204 kB
  • ctags: 49,129
  • sloc: cpp: 267,090; ansic: 152,211; sh: 35,196; python: 2,630; makefile: 2,220; perl: 1,690; pascal: 1,218; lisp: 184; csh: 117; xml: 38; asm: 32; exp: 4
file content (13 lines) | stat: -rwxr-xr-x 594 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
mkdir -p llvm/Release/bin
mkdir -p llvm/Debug/bin
cp lli llc llvm-as not count FileCheck llvm-dis llvm/Release/bin/
cp lli llc llvm-as not count FileCheck llvm-dis llvm/Debug/bin/
$GMAKE -v || { echo "GNU make not found, skipping LLVM tests"; exit 77; }
python -V || { echo "Python not found, skipping LLVM tests"; exit 77; }
python <<EOF
import sys
if sys.hexversion < 0x2040000: sys.exit(1)
EOF
test $? -eq 0 || { echo "Python version older than 2.4, skipping LLVM tests"; exit 77; }
exec $GMAKE -C llvm check-lit TESTSUITE="--no-tcl-as-sh CodeGen ExecutionEngine Integer Verifier"