[PATCH] D82169: Don't install clang-import-test

Alexander Richardson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 19 02:39:20 PDT 2020


arichardson created this revision.
arichardson added reviewers: spyffe, bruno, lhames, v.g.vassilev, loladiro.
Herald added subscribers: cfe-commits, dexonsmith, mgorny.
Herald added a project: clang.

I have been trying to reduce the installed size of our CHERI toolchain and
noticed that this tool was being installed even with -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON.
This appears to be a test binary that should not be installed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82169

Files:
  clang/tools/clang-import-test/CMakeLists.txt


Index: clang/tools/clang-import-test/CMakeLists.txt
===================================================================
--- clang/tools/clang-import-test/CMakeLists.txt
+++ clang/tools/clang-import-test/CMakeLists.txt
@@ -7,7 +7,7 @@
   set(tablegen_deps intrinsics_gen)
 endif()
 
-add_clang_tool(clang-import-test
+add_clang_executable(clang-import-test
   clang-import-test.cpp
   DEPENDS
   ${tablegen_deps}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82169.271970.patch
Type: text/x-patch
Size: 412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200619/287adc66/attachment-0001.bin>


More information about the cfe-commits mailing list