blob: 4a44079d831e4a630a85f97360313f39c0ebbf5b [file] [log] [blame]
Marat Dukhanda486af2020-04-10 23:46:52 -07001workspace(name = "pthreadpool")
2
3load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
4
5# Bazel rule definitions
6http_archive(
7 name = "rules_cc",
8 strip_prefix = "rules_cc-master",
9 urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"],
10)
11
12# Google Test framework, used by most unit-tests.
13http_archive(
14 name = "com_google_googletest",
15 strip_prefix = "googletest-master",
16 urls = ["https://github.com/google/googletest/archive/master.zip"],
17)
18
19# Google Benchmark library, used in micro-benchmarks.
20http_archive(
21 name = "com_google_benchmark",
22 strip_prefix = "benchmark-master",
23 urls = ["https://github.com/google/benchmark/archive/master.zip"],
24)
25
26# FXdiv library, used for repeated integer division by the same factor
27http_archive(
28 name = "FXdiv",
29 strip_prefix = "FXdiv-f7dd0576a1c8289ef099d4fd8b136b1c4487a873",
30 sha256 = "6e4b6e3c58e67c3bb090e286c4f235902c89b98cf3e67442a18f9167963aa286",
31 urls = ["https://github.com/Maratyszcza/FXdiv/archive/f7dd0576a1c8289ef099d4fd8b136b1c4487a873.zip"],
32)
33
34# Android NDK location and version is auto-detected from $ANDROID_NDK_HOME environment variable
35android_ndk_repository(name = "androidndk")
36
37# Android SDK location and API is auto-detected from $ANDROID_HOME environment variable
38android_sdk_repository(name = "androidsdk")