Skip to content

Commit c6565f2

Browse files
[mlir][bazel] Remove defines of obsolete MLIR_GPU_TO_CUBIN_PASS_ENABLE. (#83006)
This macro is obsolete since the landing of #82486 but was forgotten to be removed from the BUILD files.
1 parent 310a278 commit c6565f2

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5508,7 +5508,6 @@ cc_library(
55085508
),
55095509
hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
55105510
includes = ["include"],
5511-
local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
55125511
deps = [
55135512
":AffineDialect",
55145513
":AffineUtils",

utils/bazel/llvm-project-overlay/mlir/test/BUILD.bazel

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
66
load("//llvm:lit_test.bzl", "package_path")
7-
load("//mlir:build_defs.bzl", "if_cuda_available")
87
load("//mlir:tblgen.bzl", "gentbl_cc_library", "td_library")
98

109
package(
@@ -663,9 +662,6 @@ cc_library(
663662
cc_library(
664663
name = "TestGPU",
665664
srcs = glob(["lib/Dialect/GPU/*.cpp"]),
666-
defines = if_cuda_available([
667-
"MLIR_GPU_TO_CUBIN_PASS_ENABLE",
668-
]),
669665
includes = ["lib/Dialect/Test"],
670666
deps = [
671667
"//llvm:NVPTXCodeGen",

0 commit comments

Comments
 (0)