forked from google/or-tools
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update go protobuf -> `1.5.2` * Update go -> `1.16.3` * Makefile, Go Dockerfile, + Airspace Readme updates
- Loading branch information
1 parent
999df52
commit e253d89
Showing
12 changed files
with
3,079 additions
and
1,989 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 |
---|---|---|
|
@@ -19,11 +19,11 @@ It has Go bindings and binaries for use with Go projects. | |
1. Install SWIG 4.0.1: | ||
`brew install swig` | ||
1. Install protobuf for Go: | ||
`go get github.com/golang/protobuf/protoc-gen-go@v1.3` | ||
`go get -u github.com/golang/protobuf/protoc-gen-go@v1.5.2` | ||
1. Clone Airspace OR-tools: | ||
`git clone [email protected]:AirspaceTechnologies/or-tools.git` | ||
1. Make third party: | ||
`make third_party` | ||
`make clean_third_party third_party` | ||
1. Make go: | ||
`make clean_go go` | ||
1. Make go tests: | ||
|
@@ -37,5 +37,24 @@ It has Go bindings and binaries for use with Go projects. | |
`make golib_archive` | ||
1. Log into Github and create a release with the resulting binaries | ||
|
||
## Update Fork from Upstream | ||
1. Configure git remote pointing to upstream or-tools repo: | ||
`git remote add upstream [email protected]:google/or-tools.git` | ||
1. Fetch upstream: | ||
`git fetch upstream` | ||
1. Checkout fork's `stable` branch and pull: | ||
`git checkout stable && git pull` | ||
1. Merge changes from upstream `stable` branch: | ||
`git merge upstream/stable` | ||
1. Push fork's `stable` branch: | ||
`git push` | ||
1. Checkout fork's `airspace` branch and pull: | ||
`git checkout airspace && git pull` | ||
1. Merge changes from `stable` to `airspace` branch: | ||
`git merge stable` | ||
1. Push fork's `airspace` branch: | ||
`git push` | ||
1. Optionally build and release using steps above | ||
|
||
## TODO | ||
1. Make `IntVar`->`IntExpr` casting cleaner |
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
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.