llvm.org GIT mirror llvm / 849c9a2
Adding target triplet to be passed to database. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35958 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 13 years ago
1 changed file(s) with 19 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
192192
193193 if ($ENV{'LLVMGCCDIR'}) {
194194 $CONFIGUREARGS .= " --with-llvmgccdir=" . $ENV{'LLVMGCCDIR'};
195 }
195 $LLVMGCCPATH = $ENV{'LLVMGCCDIR'};
196 }
197 else {
198 $LLVMGCCPATH = "";
199 }
200
196201 if ($CONFIGUREARGS !~ /--disable-jit/) {
197202 $CONFIGUREARGS .= " --enable-jit";
198203 }
10571062 @GCC_VERSION = split '\n', $gcc_version_long;
10581063 $gcc_version = $GCC_VERSION[0];
10591064
1065 $llvmgcc_version_long="";
1066 if ($LLVMGCCPATH ne "") {
1067 $llvmgcc_version_long = `$LLVMGCCPATH/llvm-gcc -v 2>&1`;
1068 } else {
1069 $llvmgcc_version_long = `llvm-gcc -v 2>&1`;
1070 }
1071 @LLVMGCC_VERSION = split '\n', $llvmgcc_version_long;
1072 $llvmgcc_versionTarget = $LLVMGCC_VERSION[1];
1073 $llvmgcc_versionTarget =~ /Target: (.+)/;
1074 $targetTriple = $1;
1075
10601076 if(!$BuildError){
10611077 @DEJAGNU_LOG = ReadFile "$DejagnuLog";
10621078 @DEJAGNU_SUM = ReadFile "$DejagnuSum";
11151131 'starttime' => $starttime,
11161132 'endtime' => $endtime,
11171133 'o_file_sizes' => $o_file_sizes,
1118 'a_file_sizes' => $a_file_sizes
1134 'a_file_sizes' => $a_file_sizes,
1135 'target_triple' => $targetTriple
11191136 );
11201137
11211138 $TESTING = 0;