[all-commits] [llvm/llvm-project] f34ef2: [mlgo] Skip AOT-compiling a model if a header/obje...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Apr 13 09:46:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f34ef248d37456b9978d88eee4b349076e2798a1
      https://github.com/llvm/llvm-project/commit/f34ef248d37456b9978d88eee4b349076e2798a1
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    M llvm/cmake/modules/TensorFlowCompile.cmake

  Log Message:
  -----------
  [mlgo] Skip AOT-compiling a model if a header/object pair is provided

This allows one to cross-compile the header/object for a model in a
setup where the compiler is built on a system that cannot host the AOT
compiler. For example, if arm-hostable clang is desired, while the AOT
Tensorflow compiler can cross-compile to arm, it can't currently run on
arm.

The only alternative in that scenario would be to cross-compile clang
itself, but that gets complicated when trying to run tests after that.

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




More information about the All-commits mailing list