aboutsummaryrefslogtreecommitdiff
path: root/mlir/test/lit.site.cfg.py.in
diff options
context:
space:
mode:
authorMehdi Amini <aminim@google.com>2019-10-14 08:18:23 -0700
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-10-14 09:05:34 -0700
commit24c392f21c6ea9d2e1dbe39728e8a2fddb25e740 (patch)
tree498784c680749fcc4e2f458b7087c9a5eabf0e86 /mlir/test/lit.site.cfg.py.in
parent5c5d83afb469b275866cf92eaaabcc2c9ff1775f (diff)
downloadllvm-24c392f21c6ea9d2e1dbe39728e8a2fddb25e740.zip
llvm-24c392f21c6ea9d2e1dbe39728e8a2fddb25e740.tar.gz
llvm-24c392f21c6ea9d2e1dbe39728e8a2fddb25e740.tar.bz2
Use single quotes to wrap '@HOST_LDFLAGS@' in LIT config file
ldflags can contain double-quoted paths, so must use single quotes here. PiperOrigin-RevId: 274581983
Diffstat (limited to 'mlir/test/lit.site.cfg.py.in')
-rw-r--r--mlir/test/lit.site.cfg.py.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/mlir/test/lit.site.cfg.py.in b/mlir/test/lit.site.cfg.py.in
index 6008680..aab5661 100644
--- a/mlir/test/lit.site.cfg.py.in
+++ b/mlir/test/lit.site.cfg.py.in
@@ -23,7 +23,8 @@ config.llvm_bindings = "@LLVM_BINDINGS@".split(' ')
config.host_os = "@HOST_OS@"
config.host_cc = "@HOST_CC@"
config.host_cxx = "@HOST_CXX@"
-config.host_ldflags = "@HOST_LDFLAGS@"
+# Note: ldflags can contain double-quoted paths, so must use single quotes here.
+config.host_ldflags = '@HOST_LDFLAGS@'
config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
config.llvm_host_triple = '@LLVM_HOST_TRIPLE@'
config.host_arch = "@HOST_ARCH@"