[all-commits] [llvm/llvm-project] c1e2f7: [llvm][NFC] expose LLVM_HAVE_TF_API through llvm-c...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Tue Jul 14 14:09:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c1e2f73c392c111dc40de09daa71245f640ca9f5
      https://github.com/llvm/llvm-project/commit/c1e2f73c392c111dc40de09daa71245f640ca9f5
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-07-14 (Tue, 14 Jul 2020)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/include/llvm/Analysis/Utils/TFUtils.h
    M llvm/include/llvm/Config/llvm-config.h.cmake
    M llvm/unittests/Analysis/InlineSizeEstimatorAnalysisTest.cpp

  Log Message:
  -----------
  [llvm][NFC] expose LLVM_HAVE_TF_API through llvm-config.h

Summary:
This allows users of the llvm library discover whether llvm was built
with the tensorflow c API dependency, which helps if using the TFUtils
wrapper, for example.

We don't do the same for the LLVM_HAVE_TF_AOT flag, because that does
not expose any API.

Reviewers: mehdi_amini, davidxl

Subscribers: mgorny, aaron.ballman, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list