[all-commits] [llvm/llvm-project] 35d4f2: [CMake] Use correct exports file for MLIR tools (#...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Dec 16 07:27:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35d4f20098538a0d2ac6b870eeae2b0ead7d2982
      https://github.com/llvm/llvm-project/commit/35d4f20098538a0d2ac6b870eeae2b0ead7d2982
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-12-16 (Mon, 16 Dec 2024)

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

  Log Message:
  -----------
  [CMake] Use correct exports file for MLIR tools (#120079)

llvm_add_tool() currently does not respect the passed project and puts
all tools into LLVMExports.cmake. This means that we end up with
binaries like mlir-opt in LLVMExports.cmake instead of
MLIRTargets.cmake, where they should be.

Adjust llvm_add_tool() to take the project into account.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list