summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorJake Ehrlich <jakehehrlich@google.com>2017-11-02 23:45:51 +0000
committerJake Ehrlich <jakehehrlich@google.com>2017-11-02 23:45:51 +0000
commit19bbd8a92d8e8aca0a24f27f6c9d18dcdecf4fd9 (patch)
treee518b06dfa506570d098bf6d60357728e39cec3c /llvm
parentfb15180054cc0643770b8504453ab9c49582310b (diff)
downloadbcm5719-llvm-19bbd8a92d8e8aca0a24f27f6c9d18dcdecf4fd9.tar.gz
bcm5719-llvm-19bbd8a92d8e8aca0a24f27f6c9d18dcdecf4fd9.zip
Reland "Add feature to determine if host architecture is 64-bit in llvm-lit"
A member of config was removed in this patch which resulted in errors I didn't expect. Removing config.host_arch will take more work some I'm readding that field. Differential Revision: https://reviews.llvm.org/D39465 llvm-svn: 317289
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/lit.site.cfg.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in
index efdd016e45d..dff46dcff32 100644
--- a/llvm/test/lit.site.cfg.py.in
+++ b/llvm/test/lit.site.cfg.py.in
@@ -42,6 +42,7 @@ config.build_shared_libs = @BUILD_SHARED_LIBS@
config.link_llvm_dylib = @LLVM_LINK_LLVM_DYLIB@
config.llvm_libxml2_enabled = "@LLVM_LIBXML2_ENABLED@"
config.llvm_host_triple = '@LLVM_HOST_TRIPLE@'
+config.host_arch = "@HOST_ARCH@"
# Support substitution of the tools_dir with user parameters. This is
# used when we can't determine the tool dir at configuration time.
OpenPOWER on IntegriCloud