--- tensorflow/compiler/mlir/hlo/WORKSPACE.orig 2022-05-22 22:28:22 UTC +++ tensorflow/compiler/mlir/hlo/WORKSPACE @@ -34,6 +34,8 @@ http_archive( name = "llvm-raw", build_file_content = "# empty", sha256 = LLVM_SHA256, + patch_args = ["-p0"], + patches = ["@%%MLIR_LLVM_PATCH%%"], strip_prefix = "llvm-project-" + LLVM_COMMIT, urls = ["https://github.com/llvm/llvm-project/archive/{commit}.tar.gz".format(commit = LLVM_COMMIT)], )