[clang] 734d688 - [clang] Fix a race condition in the build of clangInterpreter
Stella Stamenova via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 17 10:03:42 PDT 2021
Author: Stella Stamenova
Date: 2021-06-17T10:03:33-07:00
New Revision: 734d688fbce8a453aa61764b9b5a43b26455dc0d
URL: https://github.com/llvm/llvm-project/commit/734d688fbce8a453aa61764b9b5a43b26455dc0d
DIFF: https://github.com/llvm/llvm-project/commit/734d688fbce8a453aa61764b9b5a43b26455dc0d.diff
LOG: [clang] Fix a race condition in the build of clangInterpreter
The library depends on Attributes.inc, so it has to depend on the intrinsics_gen target
Reviewed By: v.g.vassilev
Differential Revision: https://reviews.llvm.org/D104311
Added:
Modified:
clang/lib/Interpreter/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/lib/Interpreter/CMakeLists.txt b/clang/lib/Interpreter/CMakeLists.txt
index e08779945b5fc..88a0a716e1269 100644
--- a/clang/lib/Interpreter/CMakeLists.txt
+++ b/clang/lib/Interpreter/CMakeLists.txt
@@ -12,6 +12,9 @@ add_clang_library(clangInterpreter
IncrementalParser.cpp
Interpreter.cpp
+ DEPENDS
+ intrinsics_gen
+
LINK_LIBS
clangAST
clangAnalysis
More information about the cfe-commits
mailing list