[PATCH] D142400: [cmake] Remove RISCVTargetParserTableGen from LLVMConfig.cmake.in

Francesco Petrogalli via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 13:20:29 PST 2023


fpetrogalli created this revision.
fpetrogalli added reviewers: tstellar, mgorny.
Herald added subscribers: VincentWu, vkmr, evandro, luismarques, sameer.abuasal, s.egerton, Jim, benna, psnobl, PkmX, rogfer01, shiva0217, kito-cheng, simoncook, arichardson.
Herald added a project: All.
fpetrogalli requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, pcwang-thead, eopXD, sstefan1.
Herald added a project: LLVM.

As discussed in https://reviews.llvm.org/D141581, it seems that the
target RISCVTargetParserTableGen does not need the same treatment as
other tablegen-generated headers.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142400

Files:
  llvm/cmake/modules/LLVMConfig.cmake.in


Index: llvm/cmake/modules/LLVMConfig.cmake.in
===================================================================
--- llvm/cmake/modules/LLVMConfig.cmake.in
+++ llvm/cmake/modules/LLVMConfig.cmake.in
@@ -140,9 +140,9 @@
   @llvm_config_include_buildtree_only_exports@
 endif()
 
-# By creating the following targets here, subprojects that depend on
-# LLVM's tablegen-generated headers can always depend on this target
-# whether building in-tree with LLVM or not.
+# By creating intrinsics_gen, omp_gen and acc_gen here, subprojects that depend
+# on LLVM's tablegen-generated headers can always depend on this target whether
+# building in-tree with LLVM or not.
 if(NOT TARGET intrinsics_gen)
   add_custom_target(intrinsics_gen)
 endif()
@@ -152,9 +152,6 @@
 if(NOT TARGET acc_gen)
   add_custom_target(acc_gen)
 endif()
-if(NOT TARGET RISCVTargetParserTableGen)
-  add_custom_target(RISCVTargetParserTableGen)
-endif()
 
 set_property(GLOBAL PROPERTY LLVM_TARGETS_CONFIGURED On)
 include(${LLVM_CMAKE_DIR}/LLVM-Config.cmake)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142400.491493.patch
Type: text/x-patch
Size: 1030 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230123/29869b31/attachment.bin>


More information about the llvm-commits mailing list