Skip to content

Commit

Permalink
Upgrade or-tools to v9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
irfansharif committed Oct 2, 2021
1 parent 3ace05d commit 1107135
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "c-deps/abseil-cpp"]
path = c-deps/abseil-cpp
url = [email protected]:abseil/abseil-cpp.git
[submodule "c-deps/protobuf"]
path = c-deps/protobuf
url = [email protected]:protocolbuffers/protobuf.git
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ proto: internal/pb/*.proto
bzl: FORCE
@echo "--- generating bazel files"
@echo "build --cxxopt=-std=c++17 --experimental_convenience_symlinks=ignore --define gotags=bazel" > $@.tmp
@echo "test --cxxopt=-std=c++17 --test_env=BAZEL_WORKSPACE=$(shell bazel info workspace) --define gotags=bazel \
@echo "test --cxxopt=-std=c++17 --experimental_convenience_symlinks=ignore --define gotags=bazel \
--test_env=BAZEL_WORKSPACE=$(shell bazel info workspace) \
--sandbox_writable_path=$(shell bazel info workspace)/testdata \
--sandbox_writable_path=$(shell bazel info workspace)/internal/testutils/parser/testdata \
--sandbox_writable_path=$(shell bazel info workspace)/internal/testutils/parser/lexer/testdata" >> $@.tmp
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ against Google's [Operations Research
Tools](https://developers.google.com/optimization/). It exposes a high-level
package for the [CP-SAT
Solver](https://developers.google.com/optimization/cp/cp_solver), targeting the
[v9.0](https://github.com/google/or-tools/releases/tag/v9.0) release.
[v9.1](https://github.com/google/or-tools/releases/tag/v9.1) release.

### Examples

Expand Down
6 changes: 3 additions & 3 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")

git_repository(
name = "ortools",
commit = "b37d9c786b69128f3505f15beca09e89bf078a89", # tag v9.0
commit = "86d4c54", # tag v9.1
remote = "https://github.com/google/or-tools.git",
)

git_repository(
name = "com_google_absl",
commit = "e1d388e", # release 20210324.1
commit = "278e0a0", # release 20210324.2
remote = "https://github.com/abseil/abseil-cpp.git",
)

git_repository(
name = "com_google_protobuf",
commit = "436bd78", # release v3.15.8
commit = "89b14b1", # release v3.18.0
remote = "https://github.com/protocolbuffers/protobuf.git",
)

Expand Down
2 changes: 1 addition & 1 deletion c-deps/abseil-cpp
Submodule abseil-cpp updated 880 files
2 changes: 1 addition & 1 deletion c-deps/or-tools
1 change: 1 addition & 0 deletions c-deps/protobuf
Submodule protobuf added at 89b14b

0 comments on commit 1107135

Please sign in to comment.