From 4b4e531846787cb7e84159258eae70f836b57a74 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 17 Feb 2021 17:28:44 +0000 Subject: [PATCH] build: add missing BUILD_FLAGS to compile_only to speed up other_os build Before this we were building all architectures unnecessarily in the compile_all step for the other_os build. There are built elsewhere so we don't need to build them here too. This fix adds the missing BUILD_FLAGS which excludes the other builds and should speed up the workflow. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0aa937c62..ddacd6dbe 100644 --- a/Makefile +++ b/Makefile @@ -187,10 +187,10 @@ upload_github: ./bin/upload-github $(TAG) cross: doc - go run bin/cross-compile.go -release current $(BUILDTAGS) $(BUILD_ARGS) $(TAG) + go run bin/cross-compile.go -release current $(BUILD_FLAGS) $(BUILDTAGS) $(BUILD_ARGS) $(TAG) beta: - go run bin/cross-compile.go $(BUILDTAGS) $(BUILD_ARGS) $(TAG) + go run bin/cross-compile.go $(BUILD_FLAGS) $(BUILDTAGS) $(BUILD_ARGS) $(TAG) rclone -v copy build/ memstore:pub-rclone-org/$(TAG) @echo Beta release ready at https://pub.rclone.org/$(TAG)/ @@ -198,7 +198,7 @@ log_since_last_release: git log $(LAST_TAG).. compile_all: - go run bin/cross-compile.go -compile-only $(BUILDTAGS) $(BUILD_ARGS) $(TAG) + go run bin/cross-compile.go -compile-only $(BUILD_FLAGS) $(BUILDTAGS) $(BUILD_ARGS) $(TAG) ci_upload: sudo chown -R $$USER build