[llvm] 0e09bb8 - Revert "[build] Fix stand-alone builds of clang."

Francesco Petrogalli via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 16:25:24 PST 2023


Author: Francesco Petrogalli
Date: 2023-01-24T01:24:51+01:00
New Revision: 0e09bb8b143c80426c497a924ee4fa57a26af6b5

URL: https://github.com/llvm/llvm-project/commit/0e09bb8b143c80426c497a924ee4fa57a26af6b5
DIFF: https://github.com/llvm/llvm-project/commit/0e09bb8b143c80426c497a924ee4fa57a26af6b5.diff

LOG: Revert "[build] Fix stand-alone builds of clang."

There is a typo in the cmake configuration. It should be
RISCVTargetParserTableGen, not RISCVTargetParserTablegen.

This reverts commit 5d02e38f56dfa6c46dd71658c185582af1ffb07b.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/cmake/modules/LLVMConfig.cmake.in b/llvm/cmake/modules/LLVMConfig.cmake.in
index 85e878446462..f1362fa032c2 100644
--- a/llvm/cmake/modules/LLVMConfig.cmake.in
+++ b/llvm/cmake/modules/LLVMConfig.cmake.in
@@ -140,9 +140,9 @@ if(NOT TARGET LLVMSupport)
   @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 @@ endif()
 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)


        


More information about the llvm-commits mailing list