Skip to content

Commit 2aa0a06

Browse files
j2kuncopybara-github
authored andcommitted
fix bazel build
PiperOrigin-RevId: 885326702
1 parent a4f230f commit 2aa0a06

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

MODULE.bazel

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ use_repo(
6161
_LLVM_TARGETS = [
6262
"X86",
6363
# The bazel dependency graph for mlir-opt fails to load (at the analysis
64-
# step) without the NVPTX target in this list, because mlir/test:TestGPU
65-
# depends on the //llvm:NVPTXCodeGen target, which is not defined unless this
66-
# is included. @j2kun asked the LLVM maintiners for tips on how to fix this,
67-
# see https://github.com/llvm/llvm-project/issues/63135
64+
# step) without the NVPTX and AMDGPU targets in this list, because, e.g.,
65+
# mlir/test:TestGPU depends on the //llvm:NVPTXCodeGen target, which is not
66+
# defined unless this is included. @j2kun asked the LLVM maintiners for
67+
# tips on how to fix this, see
68+
# https://github.com/llvm/llvm-project/issues/63135
6869
"NVPTX",
70+
"AMDGPU",
6971
# Needed for Apple M1 targets, see
7072
# https://github.com/j2kun/mlir-tutorial/issues/11
7173
"AArch64",

0 commit comments

Comments
 (0)