[PATCH] D133150: [llvm-exegesis] Cross compile all enabled targets

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 1 13:18:03 PDT 2022


reames created this revision.
reames added reviewers: RKSimon, lebedev.ri, courbet, craig.topper.
Herald added subscribers: StephenFan, mstojanovic, bollu, mgorny, mcrosier.
Herald added a project: All.
reames requested review of this revision.
Herald added a project: LLVM.

llvm-exegesis is rather odd in the LLVM ecosystem in code is selectively compiled based on the native machine.  LLVM is cross compiler by default, so this stands out as odd.  It's also less then helpful when working on code for a target other than your native dev environment.

This change only changes the build setup.  A later change will enable -march support to allow actual benchmarking under e.g. simulators in a cross compilation environment.

This is mostly cmake foo and my cmake knowledge is pretty much non-existent.  Please don't hesitate to suggest cleaner ways of doing something.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133150

Files:
  llvm/tools/llvm-exegesis/CMakeLists.txt
  llvm/tools/llvm-exegesis/lib/CMakeLists.txt
  llvm/tools/llvm-exegesis/llvm-exegesis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133150.457373.patch
Type: text/x-patch
Size: 3382 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/322660ed/attachment.bin>


More information about the llvm-commits mailing list