Revert "Check for minimum golang version"

This reverts commit c6680da78b.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-03-17 16:10:07 -07:00
parent 5617360b3a
commit a21a956a2d
2 changed files with 3 additions and 10 deletions

View file

@ -12,15 +12,8 @@ DOCKER_IMAGE := containerd-dev$(if $(GIT_BRANCH),:$(GIT_BRANCH))
DOCKER_RUN := docker run --rm -i $(DOCKER_FLAGS) "$(DOCKER_IMAGE)" DOCKER_RUN := docker run --rm -i $(DOCKER_FLAGS) "$(DOCKER_IMAGE)"
export GO15VENDOREXPERIMENT:=1 export GO15VENDOREXPERIMENT:=1
GOLANG_VERSION:=$(shell go version | cut -d ' ' -f3 | cut -c 3-)
all: client daemon shim
all: check_version client daemon shim
check_version:
ifneq ($(shell /bin/echo -e "1.5\n${GOLANG_VERSION}" | sort -V | head -n1),1.5)
$(error "Golang 1.5+ required to build containerd. Current version: ${GOLANG_VERSION}")
endif
bin: bin:
mkdir -p bin/ mkdir -p bin/

View file

@ -19,7 +19,7 @@ For more documentation on various subjects refer to the `/docs` directory in thi
## Building ## Building
You will need to make sure that you have Go 1.5+ installed on your system and the containerd repository is cloned You will need to make sure that you have Go installed on your system and the containerd repository is cloned
in your `$GOPATH`. You will also need to make sure that you have all the dependencies cloned as well. in your `$GOPATH`. You will also need to make sure that you have all the dependencies cloned as well.
Currently, contributing to containerd is not for the first time devs as many dependencies are not vendored and Currently, contributing to containerd is not for the first time devs as many dependencies are not vendored and
work is being completed at a high rate. work is being completed at a high rate.