Skip to content

Commit b7abc51

Browse files
authored
[bazel]Fix bazel build past e7e3c45 (#123780)
1 parent 712359d commit b7abc51

File tree

1 file changed

+3
-64
lines changed

1 file changed

+3
-64
lines changed

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

Lines changed: 3 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -4316,7 +4316,6 @@ cc_library(
43164316
":GPUToNVVMTransforms",
43174317
":GPUToROCDLTransforms",
43184318
":GPUToSPIRV",
4319-
":GPUToVulkanTransforms",
43204319
":IndexToLLVM",
43214320
":IndexToSPIRV",
43224321
":LinalgToStandard",
@@ -6182,28 +6181,6 @@ cc_library(
61826181
],
61836182
)
61846183

6185-
cc_library(
6186-
name = "GPUToVulkanTransforms",
6187-
srcs = [
6188-
"lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp",
6189-
"lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp",
6190-
],
6191-
hdrs = ["include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h"],
6192-
includes = ["include"],
6193-
deps = [
6194-
":ConversionPassIncGen",
6195-
":FuncDialect",
6196-
":GPUDialect",
6197-
":IR",
6198-
":LLVMDialect",
6199-
":Pass",
6200-
":SPIRVDialect",
6201-
":SPIRVSerialization",
6202-
":Support",
6203-
"//llvm:Support",
6204-
],
6205-
)
6206-
62076184
cc_library(
62086185
name = "GPUToGPURuntimeTransforms",
62096186
srcs = [
@@ -9777,7 +9754,6 @@ cc_library(
97779754
":GPUToNVVMTransforms",
97789755
":GPUToROCDLTransforms",
97799756
":GPUToSPIRV",
9780-
":GPUToVulkanTransforms",
97819757
":GPUTransformOps",
97829758
":GPUTransforms",
97839759
":IR",
@@ -10224,8 +10200,8 @@ cc_binary(
1022410200

1022510201
cc_library(
1022610202
name = "VulkanRuntime",
10227-
srcs = ["tools/mlir-vulkan-runner/VulkanRuntime.cpp"],
10228-
hdrs = ["tools/mlir-vulkan-runner/VulkanRuntime.h"],
10203+
srcs = ["lib/ExecutionEngine/VulkanRuntime.cpp"],
10204+
hdrs = ["lib/ExecutionEngine/VulkanRuntime.h"],
1022910205
tags = [
1023010206
"manual", # External dependency
1023110207
],
@@ -10238,7 +10214,7 @@ cc_library(
1023810214

1023910215
cc_binary(
1024010216
name = "libvulkan-runtime-wrappers.so",
10241-
srcs = ["tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp"],
10217+
srcs = ["lib/ExecutionEngine/VulkanRuntimeWrappers.cpp"],
1024210218
linkshared = True,
1024310219
linkstatic = False,
1024410220
tags = [
@@ -10247,43 +10223,6 @@ cc_binary(
1024710223
deps = [":VulkanRuntime"],
1024810224
)
1024910225

10250-
cc_binary(
10251-
name = "mlir-vulkan-runner",
10252-
srcs = ["tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp"],
10253-
deps = [
10254-
":ArithDialect",
10255-
":ArithToLLVM",
10256-
":BuiltinToLLVMIRTranslation",
10257-
":ControlFlowToLLVM",
10258-
":ConvertToSPIRV",
10259-
":ExecutionEngineUtils",
10260-
":FuncDialect",
10261-
":FuncToLLVM",
10262-
":FuncToSPIRV",
10263-
":GPUDialect",
10264-
":GPUToSPIRV",
10265-
":GPUToVulkanTransforms",
10266-
":GPUTransforms",
10267-
":LLVMCommonConversion",
10268-
":LLVMDialect",
10269-
":LLVMIRTransforms",
10270-
":LLVMToLLVMIRTranslation",
10271-
":MemRefDialect",
10272-
":MemRefToLLVM",
10273-
":MemRefTransforms",
10274-
":MlirJitRunner",
10275-
":Pass",
10276-
":ReconcileUnrealizedCasts",
10277-
":SCFDialect",
10278-
":SPIRVDialect",
10279-
":SPIRVTransforms",
10280-
":ToLLVMIRTranslation",
10281-
":VectorDialect",
10282-
":VectorToLLVM",
10283-
"//llvm:Support",
10284-
],
10285-
)
10286-
1028710226
cc_library(
1028810227
name = "TableGen",
1028910228
srcs = glob(["lib/TableGen/*.cpp"]),

0 commit comments

Comments
 (0)