diff --git a/third_party/mlir/BUILD b/third_party/mlir/BUILD index c3ef6b403e0..2d7c659a3fa 100644 --- a/third_party/mlir/BUILD +++ b/third_party/mlir/BUILD @@ -1432,6 +1432,9 @@ cc_binary( ":tools/libcuda-runtime-wrappers.so", ], includes = ["include"], + # cl/262981524 introduced a regression to test/mlir-cuda-runner:gpu-to-cubin.mlir.test. + # TODO(timshen): Remove the following workaround. + linkopts = ["-Wl,-rpath,/var/google/persistent/kibbles/libcuda_running"], deps = [ ":GPUDialect", ":GPUDialectRegistration",