Files
clang-p2996/polly/test/polybench/scripts/compile.sh
Tobias Grosser 758053788b Add initial version of Polly
This version is equivalent to commit ba26ebece8f5be84e9bd6315611d412af797147e
in the old git repository.

llvm-svn: 130476
2011-04-29 06:27:02 +00:00

15 lines
297 B
Bash
Executable File

#!/bin/sh
if [ $# -ne 3 ]; then
echo "Usage: compile.sh <compiler command> <input file> <output file>";
exit 1;
fi;
COMPILER_COMMAND="$1";
INPUT_FILE="$2";
OUTPUT_FILE="$3";
$COMPILER_COMMAND -DPOLYBENCH_TIME -lm -I utilities utilities/instrument.c $INPUT_FILE -o $OUTPUT_FILE
exit 0;