1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-01 21:31:15 +02:00

[NFC] Add bazel support to cpu_features (#222)

This commit is contained in:
Guillaume Chatelet
2022-02-03 13:56:31 +01:00
committed by GitHub
parent 5f5e6d620f
commit e38dc6d2a8
4 changed files with 360 additions and 0 deletions

23
WORKSPACE Normal file
View File

@ -0,0 +1,23 @@
workspace(name = "com_google_cpufeatures")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "com_google_googletest",
sha256 = "269cebe2be1f607f91f52630ff5bec3275b948c65d4bac323ebd05e90d84f7a9",
strip_prefix = "googletest-e2239ee6043f73722e7aa812a459f54a28552929",
urls = ["https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip"],
)
http_archive(
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",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()