-
Notifications
You must be signed in to change notification settings - Fork 520
/
WORKSPACE.bazel
43 lines (35 loc) · 1.3 KB
/
WORKSPACE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.
workspace(name = "fbgemm")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_skylib",
sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz",
],
)
http_archive(
name = "com_google_googletest",
strip_prefix = "googletest-1.14.0",
urls = [
"https://github.com/google/googletest/archive/refs/tags/v1.14.0.tar.gz",
],
)
# NOTE: Starting with Bazel 7, third-party libraries need to be in external/
# https://github.com/bazelbuild/bazel/issues/19963
new_local_repository(
name = "cpuinfo",
build_file = "@//external:cpuinfo.BUILD",
path = "external/cpuinfo",
)
new_local_repository(
name = "asmjit",
build_file = "@//external:asmjit.BUILD",
path = "external/asmjit",
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()