Skip to content

Commit

Permalink
Checkout specific gnmi_ext version to fix build error (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
seiferteric authored Mar 25, 2020
1 parent 3b17782 commit f789b29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ GO_DEPS_LIST = github.com/gorilla/mux \
# GO_DEPS_LIST_2 includes "download only" dependencies.
# They are patched, compiled and installed explicitly later.
GO_DEPS_LIST_2 = github.com/openconfig/goyang \
github.com/openconfig/gnmi/proto/gnmi_ext \
github.com/openconfig/ygot/ygot

REST_BIN = $(BUILD_DIR)/rest_server/main
Expand Down Expand Up @@ -82,7 +83,9 @@ $(GO) install -v -gcflags "-N -l" $(BUILD_GOPATH)/src/github.com/antchfx/xmlquer
cd $(BUILD_GOPATH)/src/github.com/facette/natsort; git checkout 2cd4dd1e2dcba4d85d6d3ead4adf4cfd2b70caf2 2>/dev/null ; true; \
$(GO) install -v -gcflags "-N -l" $(BUILD_GOPATH)/src/github.com/facette/natsort; \
cd $(BUILD_GOPATH)/src/github.com/philopon/go-toposort; git checkout 9be86dbd762f98b5b9a4eca110a3f40ef31d0375 2>/dev/null ; true; \
$(GO) install -v -gcflags "-N -l" $(BUILD_GOPATH)/src/github.com/philopon/go-toposort
$(GO) install -v -gcflags "-N -l" $(BUILD_GOPATH)/src/github.com/philopon/go-toposort; \
cd $(BUILD_GOPATH)/src/github.com/openconfig/gnmi/proto/gnmi_ext; git checkout e7106f7f5493a9fa152d28ab314f2cc734244ed8 2>/dev/null ; true; \
$(GO) install -v -gcflags "-N -l" $(BUILD_GOPATH)/src/github.com/openconfig/gnmi/proto/gnmi_ext

$(GO_DEPS_LIST):
$(GO) get -v $@
Expand Down

0 comments on commit f789b29

Please sign in to comment.