[llvm] [TableGen][CMake] Add missing dependency to intrinsics_gen (PR #93134)
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 21:39:46 PDT 2024
https://github.com/cyndyishida created https://github.com/llvm/llvm-project/pull/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.
>From 6c75d272983c1e74e0a0b739aa856fd99f69a811 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida <cyndy_ishida at apple.com>
Date: Wed, 22 May 2024 21:30:10 -0700
Subject: [PATCH] [TableGen][CMake] Add missing dependency to intrinsics_gen
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.
---
llvm/utils/TableGen/Common/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
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