[llvm] [bazel] Update WORKSPACEm file in examples (PR #97613)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 10:41:58 PDT 2024


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

None

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

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

diff --git a/utils/bazel/examples/submodule/WORKSPACE b/utils/bazel/examples/submodule/WORKSPACE
index e8eff85ffda52..d6f0a5db91c99 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",
@@ -28,6 +30,8 @@ load("@llvm-raw//utils/bazel:configure.bzl", "llvm_configure")
 
 llvm_configure(name = "llvm-project")
 
+load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
+
 maybe(
     http_archive,
     name = "llvm_zlib",



More information about the llvm-commits mailing list