[PATCH] D115827: [clang]: add missing Interpreter -> ClangDriverOptions dependency

Alexander Sosedkin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 15 13:10:07 PST 2021


t184256 created this revision.
t184256 added reviewers: llvm-commits, thakis, v.g.vassilev.
Herald added subscribers: usaxena95, kadircet, arphaman, mgorny.
t184256 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.

Without this, it is possible that
Interpreter.cpp is being built before
clang/Driver/Options.inc is generated.

Observed only infrequently,
serial builds and ext4 manifest the problem
much more often than parallel builds and btrfs.

https://reviews.llvm.org/rG06487b010d48c36c7714ee083ed38dff65711812
is a very similar case.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115827

Files:
  clang/lib/Interpreter/CMakeLists.txt


Index: clang/lib/Interpreter/CMakeLists.txt
===================================================================
--- clang/lib/Interpreter/CMakeLists.txt
+++ clang/lib/Interpreter/CMakeLists.txt
@@ -14,6 +14,7 @@
 
   DEPENDS
   intrinsics_gen
+  ClangDriverOptions
 
   LINK_LIBS
   clangAST


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115827.394646.patch
Type: text/x-patch
Size: 292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211215/1e86eba7/attachment-0001.bin>


More information about the cfe-commits mailing list