8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34682b7 commit 5f61825Copy full SHA for 5f61825
third_party/mlir/BUILD
@@ -3104,10 +3104,10 @@ cc_binary(
3104
],
3105
)
3106
3107
-cc_binary(
3108
- name = "tools/libcuda-runtime-wrappers.so",
+cc_library(
+ name = "tools/libcuda-runtime-wrappers",
3109
srcs = ["tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp"],
3110
- linkshared = True,
+ compatible_with = ["//buildenv/target:prod"],
3111
deps = [
3112
":mlir_c_runner_utils",
3113
"//third_party/gpus/cuda:cuda_headers",
@@ -3117,6 +3117,12 @@ cc_binary(
3117
3118
3119
3120
+cc_binary(
3121
+ name = "tools/libcuda-runtime-wrappers.so",
3122
+ linkshared = True,
3123
+ deps = [":tools/libcuda-runtime-wrappers"],
3124
+)
3125
+
3126
cc_library(
3127
name = "VulkanRuntime",
3128
srcs = [
0 commit comments