]> granicus.if.org Git - llvm/commitdiff
Reland "Add feature to determine if host architecture is 64-bit in llvm-lit"
authorJake Ehrlich <jakehehrlich@google.com>
Thu, 2 Nov 2017 23:45:51 +0000 (23:45 +0000)
committerJake Ehrlich <jakehehrlich@google.com>
Thu, 2 Nov 2017 23:45:51 +0000 (23:45 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317289 91177308-0d34-0410-b5e6-96231b3b80d8

test/lit.site.cfg.py.in

index efdd016e45d993ada7c0242f324e2ecafa6b120b..dff46dcff32ea9ef3d76cb13602a78da64686e57 100644 (file)
@@ -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.