[PATCH] D50156: [test] Fix %hmaptool path for standalone builds

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 1 13:08:54 PDT 2018

mgorny created this revision.
mgorny added reviewers: bkramer, bruno.

Fix %hmaptool path to refer to clang_tools_dir instead of
llvm_tools_dir, in order to fix standalone builds.  The tool is built
as part of clang, so it won't be found in installed LLVM tools.

  rC Clang



Index: test/lit.cfg.py
--- test/lit.cfg.py
+++ test/lit.cfg.py
@@ -71,7 +71,7 @@
     ('%hmaptool', "'%s' %s" % (config.python_executable,
-                             os.path.join(config.llvm_tools_dir, 'hmaptool'))))
+                             os.path.join(config.clang_tools_dir, 'hmaptool'))))
 # Plugins (loadable modules)
 # TODO: This should be supplied by Makefile or autoconf.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50156.158612.patch
Type: text/x-patch
Size: 492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180801/b05560d7/attachment.bin>

More information about the cfe-commits mailing list