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 = "bazel_skylib", commit = "e59b620", # release 1.0.2 remote = "https://github.com/bazelbuild/bazel-skylib.git", ) # Python Rules http_archive( name = "rules_python", sha256 = "b5668cde8bb6e3515057ef465a35ad712214962f0b3a314e551204266c7be90c", strip_prefix = "rules_python-0.0.2", url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.2/rules_python-0.0.2.tar.gz", ) # Protobuf git_repository( name = "com_google_protobuf", commit = "2514f0b", # release v3.14.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 = "0f3bb46", # release 20200923.2 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", )