]> granicus.if.org Git - llvm/commitdiff
Work around a linker error caused by https://reviews.llvm.org/D56084.
authorAdrian Prantl <aprantl@apple.com>
Tue, 8 Jan 2019 20:38:22 +0000 (20:38 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 8 Jan 2019 20:38:22 +0000 (20:38 +0000)
This unbreaks all bots that build with -DLLVM_ENABLE_MODULES=1

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@350650 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-mca/CMakeLists.txt

index 1fceb08c1ca3d3b18f11a4fc1f3ed4e32996428a..fd39000633ce931803047bbdb5699e86466447af 100644 (file)
@@ -6,6 +6,8 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsDescs
   AllTargetsDisassemblers
   AllTargetsInfos
+  # FIXME: This works around a linker error with -DLLVM_BUILD_WITH_MODULES=1
+  CodeGen
   MCA
   MC
   MCParser