Commit 93f05e1
authored
[Build] Add missing dependencies to TritonPlugin.cpp build (triton-lang#9708)
Currently seeing a build error:
```
In file included from /__w/triton/triton/examples/plugins/TritonPlugin.cpp:4:
In file included from /__w/triton/triton/include/triton/Dialect/TritonGPU/IR/Dialect.h:11:
In file included from /__w/triton/triton/include/triton/Dialect/TritonGPU/IR/Attributes.h:6:/__w/triton/triton/include/triton/Dialect/TritonGPU/IR/TritonGPUInterfaces.h:10:10: fatal error: 'triton/Dialect/TritonGPU/IR/OpInterfaces.h.inc' file not found
#include "triton/Dialect/TritonGPU/IR/OpInterfaces.h.inc"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
This happens because TritonGPU is included, but not declared as a
dependency so the tablegen headers may not exist yet.1 parent dd998b6 commit 93f05e1
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments