Skip to content

Commit 6ff1dc8

Browse files
authored
Add missing dependency to src/enzyme_ad/jax:XLADerivatives (#374)
This seems to solve for me locally the error ``` [05:01:02] external/enzyme_ad/src/enzyme_ad/jax/Passes/AffineToStableHLORaising.cpp:19:10: error: module @enzyme_ad//src/enzyme_ad/jax:XLADerivatives does not depend on a module exporting 'mlir/Dialect/Affine/LoopUtils.h' [05:01:02] 19 | #include "mlir/Dialect/Affine/LoopUtils.h" [05:01:02] | ^ [05:01:02] 1 error generated. ```
1 parent 515021d commit 6ff1dc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/enzyme_ad/jax/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,7 @@ cc_library(
419419
"@llvm-project//mlir:AffineDialect",
420420
"@llvm-project//mlir:AffineAnalysis",
421421
"@llvm-project//mlir:AffineTransforms",
422+
"@llvm-project//mlir:AffineUtils",
422423
"@llvm-project//mlir:ArithDialect",
423424
"@llvm-project//mlir:ArithUtils",
424425
"@llvm-project//mlir:CallOpInterfaces",

0 commit comments

Comments
 (0)