[llvm] [MC] Add llvm_vcsrevision_h as dependency (PR #199593)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 25 18:47:44 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-mc
Author: Kelvin Lee (kiyolee)
<details>
<summary>Changes</summary>
`DXContainerInfo.cpp` is including `VCSRevision.h` and hence `llvm_vcsrevision_h` is required to generate the header before `MC` can be built.
---
Full diff: https://github.com/llvm/llvm-project/pull/199593.diff
1 Files Affected:
- (modified) llvm/lib/MC/CMakeLists.txt (+1)
``````````diff
diff --git a/llvm/lib/MC/CMakeLists.txt b/llvm/lib/MC/CMakeLists.txt
index b85cbaa08a653..da52d6389dd81 100644
--- a/llvm/lib/MC/CMakeLists.txt
+++ b/llvm/lib/MC/CMakeLists.txt
@@ -84,6 +84,7 @@ add_llvm_component_library(LLVMMC
DEPENDS
intrinsics_gen
+ llvm_vcsrevision_h
)
add_subdirectory(MCParser)
``````````
</details>
https://github.com/llvm/llvm-project/pull/199593
More information about the llvm-commits
mailing list