From: Jake Ehrlich Date: Thu, 2 Nov 2017 23:45:51 +0000 (+0000) Subject: Reland "Add feature to determine if host architecture is 64-bit in llvm-lit" X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c7ddffcd3298d393e914d823a7c34d0915588bb7;p=llvm 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317289 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/lit.site.cfg.py.in b/test/lit.site.cfg.py.in index efdd016e45d..dff46dcff32 100644 --- a/test/lit.site.cfg.py.in +++ b/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.