[PATCH] D33707: TableGen.cmake: Use DEPFILE for Ninja Generator with CMake>=3.7.

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 19:15:13 PDT 2017


chapuni added a comment.

I have confirmed it works on ninja.exe with CMake-3.9.

  include/llvm/IR/Intrinsics.gen.tmp:
    C:/path/to/llvm-project/llvm/include\llvm/CodeGen/ValueTypes.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsAArch64.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsAMDGPU.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsARM.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsBPF.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsHexagon.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsMips.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsNVVM.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsPowerPC.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsSystemZ.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsWebAssembly.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsX86.td
    C:/path/to/llvm-project/llvm/include\llvm/IR/IntrinsicsXCore.td

Each dependent contains '\\' but it's not a problem since each of them is not a target but a dependent source. Ninja.exe is correctly stat-ing them as I expect.

@beanz, I will commit it within a few days.


Repository:
  rL LLVM

https://reviews.llvm.org/D33707





More information about the llvm-commits mailing list