Skip to content

[bazel]Fix bazel build past e7e3c45bc70904e24e2b3221ac8521e67eb84668 #123780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 3 additions & 64 deletions utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4316,7 +4316,6 @@ cc_library(
":GPUToNVVMTransforms",
":GPUToROCDLTransforms",
":GPUToSPIRV",
":GPUToVulkanTransforms",
":IndexToLLVM",
":IndexToSPIRV",
":LinalgToStandard",
Expand Down Expand Up @@ -6182,28 +6181,6 @@ cc_library(
],
)

cc_library(
name = "GPUToVulkanTransforms",
srcs = [
"lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp",
"lib/Conversion/GPUToVulkan/ConvertLaunchFuncToVulkanCalls.cpp",
],
hdrs = ["include/mlir/Conversion/GPUToVulkan/ConvertGPUToVulkanPass.h"],
includes = ["include"],
deps = [
":ConversionPassIncGen",
":FuncDialect",
":GPUDialect",
":IR",
":LLVMDialect",
":Pass",
":SPIRVDialect",
":SPIRVSerialization",
":Support",
"//llvm:Support",
],
)

cc_library(
name = "GPUToGPURuntimeTransforms",
srcs = [
Expand Down Expand Up @@ -9777,7 +9754,6 @@ cc_library(
":GPUToNVVMTransforms",
":GPUToROCDLTransforms",
":GPUToSPIRV",
":GPUToVulkanTransforms",
":GPUTransformOps",
":GPUTransforms",
":IR",
Expand Down Expand Up @@ -10224,8 +10200,8 @@ cc_binary(

cc_library(
name = "VulkanRuntime",
srcs = ["tools/mlir-vulkan-runner/VulkanRuntime.cpp"],
hdrs = ["tools/mlir-vulkan-runner/VulkanRuntime.h"],
srcs = ["lib/ExecutionEngine/VulkanRuntime.cpp"],
hdrs = ["lib/ExecutionEngine/VulkanRuntime.h"],
tags = [
"manual", # External dependency
],
Expand All @@ -10238,7 +10214,7 @@ cc_library(

cc_binary(
name = "libvulkan-runtime-wrappers.so",
srcs = ["tools/mlir-vulkan-runner/vulkan-runtime-wrappers.cpp"],
srcs = ["lib/ExecutionEngine/VulkanRuntimeWrappers.cpp"],
linkshared = True,
linkstatic = False,
tags = [
Expand All @@ -10247,43 +10223,6 @@ cc_binary(
deps = [":VulkanRuntime"],
)

cc_binary(
name = "mlir-vulkan-runner",
srcs = ["tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp"],
deps = [
":ArithDialect",
":ArithToLLVM",
":BuiltinToLLVMIRTranslation",
":ControlFlowToLLVM",
":ConvertToSPIRV",
":ExecutionEngineUtils",
":FuncDialect",
":FuncToLLVM",
":FuncToSPIRV",
":GPUDialect",
":GPUToSPIRV",
":GPUToVulkanTransforms",
":GPUTransforms",
":LLVMCommonConversion",
":LLVMDialect",
":LLVMIRTransforms",
":LLVMToLLVMIRTranslation",
":MemRefDialect",
":MemRefToLLVM",
":MemRefTransforms",
":MlirJitRunner",
":Pass",
":ReconcileUnrealizedCasts",
":SCFDialect",
":SPIRVDialect",
":SPIRVTransforms",
":ToLLVMIRTranslation",
":VectorDialect",
":VectorToLLVM",
"//llvm:Support",
],
)

cc_library(
name = "TableGen",
srcs = glob(["lib/TableGen/*.cpp"]),
Expand Down
Loading