[llvm] [bazel] Fix examples WORKSPACE files (PR #97610)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 10:30:54 PDT 2024


https://github.com/kirillpyasecky created https://github.com/llvm/llvm-project/pull/97610

None

>From f8d7bb653ceac1ed0ef77a92ed2866dceeaf712d Mon Sep 17 00:00:00 2001
From: Kirill <pyasetskiyr at gmail.com>
Date: Wed, 3 Jul 2024 20:30:00 +0300
Subject: [PATCH] Update WORKSPACE

---
 utils/bazel/examples/submodule/WORKSPACE | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/utils/bazel/examples/submodule/WORKSPACE b/utils/bazel/examples/submodule/WORKSPACE
index e8eff85ffda52..3fcab581897a5 100644
--- a/utils/bazel/examples/submodule/WORKSPACE
+++ b/utils/bazel/examples/submodule/WORKSPACE
@@ -8,6 +8,8 @@ workspace(name = "submodule_example")
 
 SKYLIB_VERSION = "1.0.3"
 
+load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+
 http_archive(
     name = "bazel_skylib",
     sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44",



More information about the llvm-commits mailing list