Enable Local Patches (#2168)

Configure `WORKSPACE` so to use patches that we have in
the current repository
This commit is contained in:
micttyl
2022-09-12 10:31:07 -07:00
committed by GitHub
parent f3e1186a87
commit e2f4205ca3
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ http_archive(
build_file_content = "# empty",
patch_args = ["-p1"],
patches = [
"@//:bazel/llvm-patches/0001-Patch-for-mallinfo2-when-using-Bazel-build-system.patch",
"@//:bazel/llvm-patches/0002-Added-Bazel-build-for-compiler-rt-fuzzer.patch",
"@carbon//bazel/llvm-patches:0001-Patch-for-mallinfo2-when-using-Bazel-build-system.patch",
"@carbon//bazel/llvm-patches:0002-Added-Bazel-build-for-compiler-rt-fuzzer.patch",
],
sha256 = "0a3929c5f2fe756820277be7b10e95f7480e7cb7f297ec574d3e9ddeac9068d7",
strip_prefix = "llvm-project-%s" % llvm_version,
+9
View File
@@ -0,0 +1,9 @@
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
# Exceptions. See /LICENSE for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
package(default_visibility = ["//visibility:public"])
exports_files(glob([
"*.patch",
]))