Skip to content

Commit

Permalink
bawel: Use git_repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Mar 9, 2022
1 parent e4e535d commit 1555192
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
workspace(name = "com_google_cpufeatures")

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

http_archive(
git_repository(
name = "com_google_googletest",
sha256 = "1cff5915c9dfbf8241d811e95230833c4f34a6d56b7b8c960f4c828f60429a38",
strip_prefix = "googletest-c9461a9b55ba954df0489bab6420eb297bed846b",
urls = ["https://github.com/google/googletest/archive/c9461a9b55ba954df0489bab6420eb297bed846b.zip"],
tag = "release-1.11.0",
remote = "https://github.com/google/googletest.git",
)

http_archive(
git_repository(
name = "bazel_skylib",
sha256 = "c6966ec828da198c5d9adbaa94c05e3a1c7f21bd012a0b29ba8ddbccb2c93b0d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.1.1/bazel-skylib-1.1.1.tar.gz",
],
tag = "1.2.0",
remote = "https://github.com/bazelbuild/bazel-skylib.git",
)

load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
Expand Down

0 comments on commit 1555192

Please sign in to comment.