[all-commits] [llvm/llvm-project] 4d50a3: [llvm-exegesis] Cross compile all enabled targets

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Sep 9 09:05:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d50a392401c0d34a21c77529a2f3b9f9568339a
      https://github.com/llvm/llvm-project/commit/4d50a392401c0d34a21c77529a2f3b9f9568339a
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-09 (Fri, 09 Sep 2022)

  Changed paths:
    M llvm/tools/llvm-exegesis/CMakeLists.txt
    M llvm/tools/llvm-exegesis/lib/CMakeLists.txt
    M llvm/tools/llvm-exegesis/llvm-exegesis.cpp

  Log Message:
  -----------
  [llvm-exegesis] Cross compile all enabled targets

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.

Differential Revision: https://reviews.llvm.org/D133150




More information about the All-commits mailing list