X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/7d4e2e418a987a454d18902a937fc91bed69ce75..3b08ff03f0107cb1c39f3c50546422b0ec1066e3:/cmd/arvados-client/Makefile diff --git a/cmd/arvados-client/Makefile b/cmd/arvados-client/Makefile index 701814e388..b043fc90e2 100644 --- a/cmd/arvados-client/Makefile +++ b/cmd/arvados-client/Makefile @@ -3,9 +3,9 @@ # SPDX-License-Identifier: Apache-2.0 all: - go get . - docker build --tag=cgofuse --build-arg=http_proxy="$(http_proxy)" --build-arg=https_proxy="$(https_proxy)" "$(GOPATH)"/src/github.com/arvados/cgofuse - go get github.com/karalabe/xgo - xgo --image=cgofuse --targets=linux/amd64,linux/386,darwin/amd64,darwin/386,windows/amd64,windows/386 . + @printf "*** note *** due to an xgo limitation, this only works when the working tree is in GOPATH\n\n" + go mod download + docker build --tag=cgofuse --build-arg=http_proxy="$(http_proxy)" --build-arg=https_proxy="$(https_proxy)" https://github.com/arvados/cgofuse.git + go run github.com/karalabe/xgo --image=cgofuse --targets=linux/amd64,linux/386,darwin/amd64,darwin/386,windows/amd64,windows/386 . install arvados-* "$(GOPATH)"/bin/ rm --interactive=never arvados-*