[PATCH] D71615: [clang] [cmake] Fix gen_ast_dump_json_test.py binary dir

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 18 07:48:34 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6207b060ad80: [clang] [cmake] Fix gen_ast_dump_json_test.py binary dir (authored by mgorny).
Herald added a project: clang.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71615/new/

https://reviews.llvm.org/D71615

Files:
  clang/test/CMakeLists.txt


Index: clang/test/CMakeLists.txt
===================================================================
--- clang/test/CMakeLists.txt
+++ clang/test/CMakeLists.txt
@@ -138,7 +138,8 @@
 
 # Copy gen_ast_dump_json_test.py to the clang build dir. This allows invoking
 # it without having to pass the --clang= argument
-configure_file(AST/gen_ast_dump_json_test.py ${LLVM_TOOLS_BINARY_DIR}/gen_ast_dump_json_test.py COPYONLY)
+configure_file(AST/gen_ast_dump_json_test.py
+  ${CLANG_BINARY_DIR}/bin/gen_ast_dump_json_test.py COPYONLY)
 
 add_custom_target(clang-test-depends DEPENDS ${CLANG_TEST_DEPS})
 set_target_properties(clang-test-depends PROPERTIES FOLDER "Clang tests")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71615.234536.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191218/151e63d0/attachment.bin>


More information about the cfe-commits mailing list