forked from google/or-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Laurent Perron
committed
Feb 10, 2019
1 parent
f0581e5
commit a0d2853
Showing
18 changed files
with
1,511 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,52 @@ | ||
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. | ||
git_repository( | ||
name = "com_github_gflags_gflags", | ||
name = "com_github_gflags_gflags", | ||
commit = "f8a0efe03aa69b3336d8e228b37d4ccb17324b88", | ||
remote = "https://github.com/gflags/gflags.git", | ||
tag = "v2.2.2", | ||
) | ||
|
||
#Import the glog files. | ||
new_git_repository( | ||
name = "com_github_glog_glog", | ||
name = "com_github_glog_glog", | ||
build_file = "//bazel:glog.BUILD", | ||
remote = "https://github.com/google/glog.git", | ||
tag = "v0.3.5", | ||
) | ||
|
||
# proto_library rules implicitly depend on @com_google_protobuf//:protoc, | ||
# which is the proto-compiler. | ||
# This statement defines the @com_google_protobuf repo. | ||
http_archive( | ||
name = "com_google_protobuf", | ||
urls = ["https://github.com/google/protobuf/archive/b4b0e304be5a68de3d0ee1af9b286f958750f5e4.zip"], | ||
strip_prefix = "protobuf-b4b0e304be5a68de3d0ee1af9b286f958750f5e4", | ||
sha256 = "ff771a662fb6bd4d3cc209bcccedef3e93980a49f71df1e987f6afa3bcdcba3a", | ||
sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2", | ||
strip_prefix = "protobuf-3.6.1.3", | ||
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip"], | ||
) | ||
|
||
# cc_proto_library rules implicitly depend on | ||
# @com_google_protobuf_cc//:cc_toolchain, which is the C++ proto runtime | ||
# (base classes and common utilities). | ||
http_archive( | ||
name = "com_google_protobuf_cc", | ||
urls = ["https://github.com/google/protobuf/archive/b4b0e304be5a68de3d0ee1af9b286f958750f5e4.zip"], | ||
strip_prefix = "protobuf-b4b0e304be5a68de3d0ee1af9b286f958750f5e4", | ||
sha256 = "ff771a662fb6bd4d3cc209bcccedef3e93980a49f71df1e987f6afa3bcdcba3a", | ||
sha256 = "9510dd2afc29e7245e9e884336f848c8a6600a14ae726adb6befdb4f786f0be2", | ||
strip_prefix = "protobuf-3.6.1.3", | ||
urls = ["https://github.com/protocolbuffers/protobuf/archive/v3.6.1.3.zip"], | ||
) | ||
|
||
new_http_archive( | ||
http_archive( | ||
name = "gtest", | ||
url = "https://github.com/google/googletest/archive/release-1.8.0.zip", | ||
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", | ||
) | ||
|
||
new_http_archive( | ||
http_archive( | ||
name = "glpk", | ||
url = "http://ftp.gnu.org/gnu/glpk/glpk-4.52.tar.gz", | ||
sha256 = "9a5dab356268b4f177c33e00ddf8164496dc2434e83bd1114147024df983a3bb", | ||
build_file = "//bazel:glpk.BUILD", | ||
sha256 = "9a5dab356268b4f177c33e00ddf8164496dc2434e83bd1114147024df983a3bb", | ||
url = "http://ftp.gnu.org/gnu/glpk/glpk-4.52.tar.gz", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.