[PATCH] D78192: Support compiler extensions as a normal component

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 08:06:11 PDT 2020


serge-sans-paille updated this revision to Diff 259284.
serge-sans-paille added a comment.
Herald added subscribers: cfe-commits, dang, dexonsmith, steven_wu, hiraditya.
Herald added a project: clang.

Instead of linking all compiler extensions to the different possible tagets (clang, opt lto etc), link them in a new component, named ` Extensions`. That way a tool (or component) that needs to use compiler extension can just declare that dependency in the traditional way.

This is compatible with llvm-build and llvm-config, through a specific handler in llvm-config though.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78192

Files:
  clang/lib/CodeGen/CMakeLists.txt
  llvm/cmake/modules/AddLLVM.cmake
  llvm/lib/CMakeLists.txt
  llvm/lib/Extensions/CMakeLists.txt
  llvm/lib/Extensions/Extensions.cpp
  llvm/lib/Extensions/LLVMBuild.txt
  llvm/lib/LLVMBuild.txt
  llvm/lib/LTO/CMakeLists.txt
  llvm/lib/LTO/LLVMBuild.txt
  llvm/tools/bugpoint/CMakeLists.txt
  llvm/tools/llvm-config/llvm-config.cpp
  llvm/tools/opt/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78192.259284.patch
Type: text/x-patch
Size: 10369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/bec53e44/attachment.bin>


More information about the llvm-commits mailing list