This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rG5d02e38f56df: [build] Fix stand-alone builds of clang. (authored by fpetrogalli).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D142403/new/ https://reviews.llvm.org/D142403 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 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. +# 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. if(NOT TARGET intrinsics_gen) add_custom_target(intrinsics_gen) endif() @@ -152,6 +152,9 @@ 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)
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 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. +# 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. if(NOT TARGET intrinsics_gen) add_custom_target(intrinsics_gen) endif() @@ -152,6 +152,9 @@ 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)
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits