[all-commits] [llvm/llvm-project] 2aa6d5: Restore Python install behavior from before D128230.

Stella Laurenzo via All-commits all-commits at lists.llvm.org
Sat Jul 9 19:23:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2aa6d56dce293e93240a10ea47222b2ca7d3b3e2
      https://github.com/llvm/llvm-project/commit/2aa6d56dce293e93240a10ea47222b2ca7d3b3e2
  Author: Stella Laurenzo <stellaraccident at gmail.com>
  Date:   2022-07-09 (Sat, 09 Jul 2022)

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

  Log Message:
  -----------
  Restore Python install behavior from before D128230.

In D128230, we accidentally moved the install for Python sources outside of the loop, having one install() per group of files. While it would be nice if we could do this, it means that we flatten the relative directory tree and every source ends up in the root. The right way to do this is to use FILE_SETS, which preserve the relative directory tree, but they are not available until CMake 3.23.

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




More information about the All-commits mailing list