| 1 |
workspace(name = "highs") |
| 2 |
|
| 3 |
load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository", "new_git_repository") |
| 4 |
|
| 5 |
# Needed by Protobuf |
| 6 |
git_repository( |
| 7 |
name = "rules_python", |
| 8 |
tag = "0.31.0", |
| 9 |
remote = "https://github.com/bazelbuild/rules_python.git", |
| 10 |
) |
| 11 |
|
| 12 |
load("@rules_python//python:repositories.bzl", "py_repositories") |
| 13 |
py_repositories() |
| 14 |
|
| 15 |
# Protobuf |
| 16 |
git_repository( |
| 17 |
name = "com_google_protobuf", |
| 18 |
tag = "v26.1", |
| 19 |
remote = "https://github.com/protocolbuffers/protobuf.git", |
| 20 |
) |
| 21 |
|
| 22 |
# Load common dependencies. |
| 23 |
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") |
| 24 |
protobuf_deps() |
| 25 |
|
| 26 |
# ZLIB |
| 27 |
new_git_repository( |
| 28 |
name = "zlib", |
| 29 |
build_file = "@com_google_protobuf//:third_party/zlib.BUILD", |
| 30 |
tag = "v1.2.11", |
| 31 |
remote = "https://github.com/madler/zlib.git", |
| 32 |
) |
| 33 |
|