[all-commits] [llvm/llvm-project] aa1e0e: [MLIR] Fix Xcode build due to incorrect library path

Aaron Smith via All-commits all-commits at lists.llvm.org
Fri Mar 20 16:38:27 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aa1e0e01d89d490fca5861efa4874ca998f6503f
      https://github.com/llvm/llvm-project/commit/aa1e0e01d89d490fca5861efa4874ca998f6503f
  Author: Aaron Smith <aaron.smith at microsoft.com>
  Date:   2020-03-20 (Fri, 20 Mar 2020)

  Changed paths:
    M mlir/cmake/modules/AddMLIR.cmake

  Log Message:
  -----------
  [MLIR] Fix Xcode build due to incorrect library path

Two MLIR examples do not link because the library path is different when using Xcode vs Makefiles.
This change adds the configuration name to the library path when building with Xcode.

i.e. LLVM_BUILD_DIR/debug/lib




More information about the All-commits mailing list