[all-commits] [llvm/llvm-project] 772f7b: Disable the MLIR ExecutionEngine library when the ...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Sat Jan 15 11:36:49 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 772f7b87f8cc040203476e3cc6e6164473349a26
      https://github.com/llvm/llvm-project/commit/772f7b87f8cc040203476e3cc6e6164473349a26
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-01-15 (Sat, 15 Jan 2022)

  Changed paths:
    M mlir/lib/CAPI/CMakeLists.txt
    M mlir/lib/CMakeLists.txt
    M mlir/python/CMakeLists.txt
    M mlir/test/CAPI/CMakeLists.txt
    M mlir/test/CMakeLists.txt

  Log Message:
  -----------
  Disable the MLIR ExecutionEngine library when the native target is not configured

The execution engine would not be functional anyway, we're already
disabling the tests, this also disable the rest of the code.

Anecdotally this reduces the number of static library built when the
builtin target is disabled goes from 236 to 218.

Here is the complete list of LLVM targets built when running
`ninja check-mlir`:

libLLVMAggressiveInstCombine.a
libLLVMAnalysis.a
libLLVMAsmParser.a
libLLVMBinaryFormat.a
libLLVMBitReader.a
libLLVMBitstreamReader.a
libLLVMBitWriter.a
libLLVMCore.a
libLLVMDebugInfoCodeView.a
libLLVMDebugInfoDWARF.a
libLLVMDemangle.a
libLLVMFileCheck.a
libLLVMFrontendOpenMP.a
libLLVMInstCombine.a
libLLVMIRReader.a
libLLVMMC.a
libLLVMMCParser.a
libLLVMObject.a
libLLVMProfileData.a
libLLVMRemarks.a
libLLVMScalarOpts.a
libLLVMSupport.a
libLLVMTableGen.a
libLLVMTableGenGlobalISel.a
libLLVMTextAPI.a
libLLVMTransformUtils.a

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




More information about the All-commits mailing list