88 lines
2.6 KiB
Python
88 lines
2.6 KiB
Python
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
|
|
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
|
|
|
|
http_archive(
|
|
name = "zlib",
|
|
build_file = "@com_google_protobuf//:third_party/zlib.BUILD",
|
|
sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1",
|
|
strip_prefix = "zlib-1.2.11",
|
|
urls = [
|
|
"https://mirror.bazel.build/zlib.net/zlib-1.2.11.tar.gz",
|
|
"https://zlib.net/zlib-1.2.11.tar.gz",
|
|
],
|
|
)
|
|
|
|
git_repository(
|
|
name = "com_github_gflags_gflags",
|
|
commit = "e171aa2", # release v2.2.2
|
|
remote = "https://github.com/gflags/gflags.git",
|
|
)
|
|
|
|
git_repository(
|
|
name = "com_github_glog_glog",
|
|
commit = "96a2f23", # release v0.4.0
|
|
remote = "https://github.com/google/glog.git",
|
|
)
|
|
|
|
git_repository(
|
|
name = "bazel_skylib",
|
|
commit = "e59b620", # release 1.0.2
|
|
remote = "https://github.com/bazelbuild/bazel-skylib.git",
|
|
)
|
|
|
|
# Python Rules
|
|
http_archive(
|
|
name = "rules_python",
|
|
url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.2/rules_python-0.0.2.tar.gz",
|
|
strip_prefix = "rules_python-0.0.2",
|
|
sha256 = "b5668cde8bb6e3515057ef465a35ad712214962f0b3a314e551204266c7be90c",
|
|
)
|
|
|
|
# Protobuf
|
|
git_repository(
|
|
name = "com_google_protobuf",
|
|
commit = "fde7cf7", # release v3.13.0
|
|
remote = "https://github.com/protocolbuffers/protobuf.git",
|
|
)
|
|
|
|
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
|
|
# Load common dependencies.
|
|
protobuf_deps()
|
|
|
|
git_repository(
|
|
name = "com_google_absl",
|
|
commit = "b56cbdd", # release 20200923
|
|
remote = "https://github.com/abseil/abseil-cpp.git",
|
|
)
|
|
|
|
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 = "glpk",
|
|
build_file = "//bazel:glpk.BUILD",
|
|
sha256 = "4281e29b628864dfe48d393a7bedd781e5b475387c20d8b0158f329994721a10",
|
|
url = "http://ftp.gnu.org/gnu/glpk/glpk-4.65.tar.gz",
|
|
)
|
|
|
|
http_archive(
|
|
name = "bliss",
|
|
build_file = "//bazel:bliss.BUILD",
|
|
patches = ["//bazel:bliss-0.73.patch"],
|
|
sha256 = "f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84",
|
|
url = "http://www.tcs.hut.fi/Software/bliss/bliss-0.73.zip",
|
|
)
|
|
|
|
http_archive(
|
|
name = "scip",
|
|
build_file = "//bazel:scip.BUILD",
|
|
patches = [ "//bazel:scip.patch" ],
|
|
sha256 = "033bf240298d3a1c92e8ddb7b452190e0af15df2dad7d24d0572f10ae8eec5aa",
|
|
url = "https://github.com/google/or-tools/releases/download/v7.7/scip-7.0.1.tgz",
|
|
)
|
|
|