Merge pull request #3437 from giuseppe/fix-nocgo

build: allow to build without cgo on RISC-V
This commit is contained in:
OpenShift Merge Robot
2019-07-03 15:58:26 +02:00
committed by GitHub
28 changed files with 791 additions and 89 deletions

View File

@ -399,6 +399,9 @@ build-all-new-commits:
# Validate that all the commits build on top of $(GIT_BASE_BRANCH)
git rebase $(GIT_BASE_BRANCH) -x make
build-no-cgo:
env BUILDTAGS="containers_image_openpgp containers_image_ostree_stub exclude_graphdriver_btrfs exclude_graphdriver_devicemapper exclude_disk_quota" CGO_ENABLED=0 $(MAKE)
vendor:
export GO111MODULE=on \
$(GO) mod tidy && \