diff options
author | Marat Dukhan <maratek@google.com> | 2020-04-10 23:46:52 -0700 |
---|---|---|
committer | Marat Dukhan <maratek@google.com> | 2020-04-10 23:56:53 -0700 |
commit | da486afd0f9e2b42ccb90940e2dfba6cfed38708 (patch) | |
tree | dc93dadbb8ada29bdda13b3eb06f3ec993c6add0 /WORKSPACE | |
parent | 4ac9270e4b6ecf03f18e3d0ed2028aac2c988911 (diff) | |
download | pthreadpool-da486afd0f9e2b42ccb90940e2dfba6cfed38708.tar.gz |
Add Bazel configuration files
Diffstat (limited to 'WORKSPACE')
-rw-r--r-- | WORKSPACE | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/WORKSPACE b/WORKSPACE new file mode 100644 index 0000000..4a44079 --- /dev/null +++ b/WORKSPACE @@ -0,0 +1,38 @@ +workspace(name = "pthreadpool") + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +# Bazel rule definitions +http_archive( + name = "rules_cc", + strip_prefix = "rules_cc-master", + urls = ["https://github.com/bazelbuild/rules_cc/archive/master.zip"], +) + +# Google Test framework, used by most unit-tests. +http_archive( + name = "com_google_googletest", + strip_prefix = "googletest-master", + urls = ["https://github.com/google/googletest/archive/master.zip"], +) + +# Google Benchmark library, used in micro-benchmarks. +http_archive( + name = "com_google_benchmark", + strip_prefix = "benchmark-master", + urls = ["https://github.com/google/benchmark/archive/master.zip"], +) + +# FXdiv library, used for repeated integer division by the same factor +http_archive( + name = "FXdiv", + strip_prefix = "FXdiv-f7dd0576a1c8289ef099d4fd8b136b1c4487a873", + sha256 = "6e4b6e3c58e67c3bb090e286c4f235902c89b98cf3e67442a18f9167963aa286", + urls = ["https://github.com/Maratyszcza/FXdiv/archive/f7dd0576a1c8289ef099d4fd8b136b1c4487a873.zip"], +) + +# Android NDK location and version is auto-detected from $ANDROID_NDK_HOME environment variable +android_ndk_repository(name = "androidndk") + +# Android SDK location and API is auto-detected from $ANDROID_HOME environment variable +android_sdk_repository(name = "androidsdk") |