Skip to content

Commit bc1c86b

Browse files
committed
[mlir][Bazel] Also remove SerializeToCubin target.
1 parent 6676f67 commit bc1c86b

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

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

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3231,9 +3231,7 @@ cc_library(
32313231
":Transforms",
32323232
":VectorToLLVM",
32333233
":VectorTransforms",
3234-
] + if_cuda_available([
3235-
":SerializeToCubin",
3236-
]),
3234+
],
32373235
)
32383236

32393237
##---------------------------------------------------------------------------##
@@ -5504,9 +5502,6 @@ cc_library(
55045502
"lib/Dialect/GPU/Transforms/*.cpp",
55055503
"lib/Dialect/GPU/Transforms/*.h",
55065504
],
5507-
exclude = [
5508-
"lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
5509-
],
55105505
),
55115506
hdrs = glob(["include/mlir/Dialect/GPU/Transforms/*.h"]),
55125507
includes = ["include"],
@@ -5556,28 +5551,6 @@ cc_library(
55565551
]),
55575552
)
55585553

5559-
cc_library(
5560-
name = "SerializeToCubin",
5561-
srcs = [
5562-
"lib/Dialect/GPU/Transforms/SerializeToCubin.cpp",
5563-
],
5564-
local_defines = if_cuda_available(["MLIR_GPU_TO_CUBIN_PASS_ENABLE"]),
5565-
deps = [
5566-
":GPUDialect",
5567-
":GPUPassIncGen",
5568-
":GPUTransforms",
5569-
":NVVMDialect",
5570-
":NVVMToLLVMIRTranslation",
5571-
":Pass",
5572-
":Support",
5573-
":ToLLVMIRTranslation",
5574-
"//llvm:Support",
5575-
] + if_cuda_available([
5576-
"@cuda//:cuda_headers",
5577-
"@cuda//:libcuda",
5578-
]),
5579-
)
5580-
55815554
td_library(
55825555
name = "GPUTransformOpsTdFiles",
55835556
srcs = [
@@ -9190,7 +9163,6 @@ cc_binary(
91909163
":Pass",
91919164
":QuantOps",
91929165
":SCFToGPU",
9193-
":SerializeToCubin",
91949166
":Support",
91959167
":Transforms",
91969168
"//llvm:AllTargetsCodeGens",

0 commit comments

Comments
 (0)