[PATCH] D124886: [BOLT][CMAKE] Fix llvm-bolt-fuzzer build
Amir Ayupov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 15:37:20 PDT 2022
Amir created this revision.
Herald added subscribers: ayermolo, pengfei, kristof.beyls, mgorny.
Herald added a reviewer: rafauler.
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.
Add X86/AArch64 targets to resolve missing dependencies, e.g.:
`undefined reference to `LLVMInitializeX86AsmParser'`
Follow-up to D124206 <https://reviews.llvm.org/D124206>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D124886
Files:
bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
Index: bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
===================================================================
--- bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
+++ bolt/tools/llvm-bolt-fuzzer/CMakeLists.txt
@@ -1,5 +1,6 @@
set(LLVM_LINK_COMPONENTS
BOLTRewrite
+ ${LLVM_TARGETS_TO_BUILD}
)
add_llvm_fuzzer(llvm-bolt-fuzzer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124886.426870.patch
Type: text/x-patch
Size: 338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220503/72ae2a3d/attachment.bin>
More information about the llvm-commits
mailing list