53 lines
1.7 KiB
Python
53 lines
1.7 KiB
Python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository")
|
|
|
|
#Import the gflags files.
|
|
http_archive(
|
|
name = "com_github_gflags_gflags",
|
|
sha256 = "19713a36c9f32b33df59d1c79b4958434cb005b5b47dc5400a7a4b078111d9b5",
|
|
strip_prefix = "gflags-2.2.2",
|
|
urls = ["https://github.com/gflags/gflags/archive/v2.2.2.zip"],
|
|
)
|
|
|
|
#Import the glog files.
|
|
git_repository(
|
|
name = "com_github_glog_glog",
|
|
commit = "41f4bf9cbc3e8995d628b459f6a239df43c2b84a",
|
|
remote = "https://github.com/google/glog.git",
|
|
)
|
|
|
|
http_archive(
|
|
name = "com_google_protobuf",
|
|
sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2",
|
|
strip_prefix = "protobuf-3.6.1.3",
|
|
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip"],
|
|
)
|
|
|
|
http_archive(
|
|
name = "com_google_protobuf_cc",
|
|
sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2",
|
|
strip_prefix = "protobuf-3.6.1.3",
|
|
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip"],
|
|
)
|
|
|
|
http_archive(
|
|
name = "gtest",
|
|
build_file = "//bazel:gtest.BUILD",
|
|
strip_prefix = "googletest-release-1.8.0/googletest",
|
|
url = "https://github.com/google/googletest/archive/release-1.8.0.zip",
|
|
)
|
|
|
|
http_archive(
|
|
name = "com_google_absl",
|
|
sha256 = "fe4d9e424dc25ee57695509cf6c5a7dd582a7ac1ca1efb92713fb439b3e8b1c6",
|
|
urls = ["https://github.com/abseil/abseil-cpp/archive/20181200.zip"],
|
|
strip_prefix = "abseil-cpp-20181200",
|
|
)
|
|
|
|
http_archive(
|
|
name = "glpk",
|
|
build_file = "//bazel:glpk.BUILD",
|
|
sha256 = "9a5dab356268b4f177c33e00ddf8164496dc2434e83bd1114147024df983a3bb",
|
|
url = "http://ftp.gnu.org/gnu/glpk/glpk-4.52.tar.gz",
|
|
)
|