[llvm] f3d6db3 - [TableGen][CMake] Add missing dependency to intrinsics_gen (#93134)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 23 12:12:44 PDT 2024
Author: Cyndy Ishida
Date: 2024-05-23T12:12:40-07:00
New Revision: f3d6db36f8c22ac87b20ac46ed2d6391c5af2108
URL: https://github.com/llvm/llvm-project/commit/f3d6db36f8c22ac87b20ac46ed2d6391c5af2108
DIFF: https://github.com/llvm/llvm-project/commit/f3d6db36f8c22ac87b20ac46ed2d6391c5af2108.diff
LOG: [TableGen][CMake] Add missing dependency to intrinsics_gen (#93134)
A missing dependency resulted in `fatal error: 'llvm/IR/Attributes.inc'
file not found` errors when performing an Apple-stage2 build with
LLVM_ENABLE_MODULES enabled.
This resolves the scheduling issue when building LLVMTableGenCommon
library target.
resolves: rdar://128536914
Added:
Modified:
llvm/utils/TableGen/Common/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/utils/TableGen/Common/CMakeLists.txt b/llvm/utils/TableGen/Common/CMakeLists.txt
index 30f188ae48a2a..3df2fd27e1923 100644
--- a/llvm/utils/TableGen/Common/CMakeLists.txt
+++ b/llvm/utils/TableGen/Common/CMakeLists.txt
@@ -40,6 +40,7 @@ add_llvm_library(LLVMTableGenCommon STATIC OBJECT EXCLUDE_FROM_ALL
DEPENDS
vt_gen
+ intrinsics_gen
)
set_target_properties(LLVMTableGenCommon PROPERTIES FOLDER "Tablegenning")
More information about the llvm-commits
mailing list