aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-07 23:52:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-07 23:52:20 +0000
commite9b88e4440f0ba3a97e904f94a1634d7439b8478 (patch)
tree6db2f57d6c8c5978b0644d42daf7ca638f92efac /test
parentf0bb41c078d657c70ce6b95d5b56645c72ca7db4 (diff)
downloadexternal_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.zip
external_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.gz
external_llvm-e9b88e4440f0ba3a97e904f94a1634d7439b8478.tar.bz2
Stop running get_target_triple more than we need to.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
-rw-r--r--test/site.exp.in2
2 files changed, 1 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 627b57d..9f37037 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -1,6 +1,3 @@
-include(GetTargetTriple)
-get_target_triple(target)
-
foreach(c ${LLVM_TARGETS_TO_BUILD})
set(TARGETS_BUILT "${TARGETS_BUILT} ${c}")
endforeach(c)
diff --git a/test/site.exp.in b/test/site.exp.in
index 6a74ba8..bbb9638 100644
--- a/test/site.exp.in
+++ b/test/site.exp.in
@@ -1,6 +1,6 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
-set target_triplet "@target@"
+set target_triplet "@TARGET_TRIPLE@"
set TARGETS_TO_BUILD "@TARGETS_TO_BUILD@"
set llvmgcc_langs "@LLVMGCC_LANGS@"
set llvmgcc_version "@LLVMGCC_VERSION@"