projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fbc00b
)
Export TARGET_TRIPLE on LLVM.cmake. It is necessary for running tests
author
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 23 Feb 2011 11:28:40 +0000
(11:28 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Wed, 23 Feb 2011 11:28:40 +0000
(11:28 +0000)
on Clang when it builds using LLVM as an external library.
Fixes PR9293.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126309
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/LLVM.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/LLVM.cmake
b/cmake/modules/LLVM.cmake
index 0dc5058f639514a656771976b5f1717dac27df94..9182afdf2758cd9a81d603e627dc799ef86380a4 100644
(file)
--- a/
cmake/modules/LLVM.cmake
+++ b/
cmake/modules/LLVM.cmake
@@
-10,6
+10,8
@@
set(LLVM_ALL_TARGETS @LLVM_ALL_TARGETS@)
set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
+set(TARGET_TRIPLE "@TARGET_TRIPLE@")
+
set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@)
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)