[PATCH] D143101: [BOLT][CMake] Add dependency on llvm_vcsrevision_h

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 1 12:37:35 PST 2023


Amir created this revision.
Amir added reviewers: bolt, nathanchance.
Herald added a reviewer: rafauler.
Herald added subscribers: treapster, ayermolo.
Herald added a reviewer: maksfb.
Herald added a project: All.
Amir requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

The dependence is needed since Utils includes VCSRevision.h, and other
LLVM components that include this header also have the llvm_vcsrevision_h
dependency.

Fixes #60460.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143101

Files:
  bolt/lib/Utils/CMakeLists.txt


Index: bolt/lib/Utils/CMakeLists.txt
===================================================================
--- bolt/lib/Utils/CMakeLists.txt
+++ bolt/lib/Utils/CMakeLists.txt
@@ -7,6 +7,9 @@
   LINK_LIBS
   ${LLVM_PTHREAD_LIB}
 
+  DEPENDS
+  llvm_vcsrevision_h
+
   LINK_COMPONENTS
   Support
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143101.494038.patch
Type: text/x-patch
Size: 297 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230201/a95f1346/attachment.bin>


More information about the llvm-commits mailing list