Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Build for plan9/amd64 and solaris/amd64 too

Nick Craig-Wood4f35fb59c81a
diff --git a/RELEASE.md b/RELEASE.md
index 8bb7d4dee..e145bb8e0 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -12,7 +12,7 @@ Making a release
* edit docs/content/changelog.md
* git commit -a -v
* make retag
- * # Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross
+ * # Set the GOPATH for a gox enabled compiler - . ~/bin/go-cross - not required for go >= 1.5
* make cross
* make upload
* make upload_website
diff --git a/cross-compile b/cross-compile
index 29b00a060..21b26520b 100755
--- a/cross-compile
+++ b/cross-compile
@@ -3,7 +3,7 @@
set -e
# This uses gox from https://github.com/mitchellh/gox
-# Make sure you've run gox -build-toolchain
+# Make sure you've run gox -build-toolchain - not required for go >= 1.5
if [ "$1" == "" ]; then
echo "Syntax: $0 Version"
@@ -13,7 +13,9 @@ VERSION="$1"
rm -rf build
-gox -output "build/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}/{{.Dir}}"
+gox -output "build/{{.Dir}}-${VERSION}-{{.OS}}-{{.Arch}}/{{.Dir}}" -os "darwin linux freebsd openbsd windows freebsd netbsd plan9 solaris"
+# Not implemented yet: nacl dragonfly android
+# gox -osarch-list for definitive list
mv build/rclone-${VERSION}-darwin-amd64 build/rclone-${VERSION}-osx-amd64
mv build/rclone-${VERSION}-darwin-386 build/rclone-${VERSION}-osx-386
diff --git a/docs/content/downloads.md.in b/docs/content/downloads.md.in
index d99bd6cae..97eb682d0 100644
--- a/docs/content/downloads.md.in
+++ b/docs/content/downloads.md.in
@@ -31,6 +31,9 @@ Rclone Download VERSION
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-openbsd-amd64.zip)
* Plan 9
* [386 - 32 Bit](http://downloads.rclone.org/rclone-VERSION-plan9-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-plan9-amd64.zip)
+ * Solaris
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-VERSION-solaris-amd64.zip)
Downloads for scripting
=======================
@@ -61,6 +64,9 @@ script) from a URL which doesn't change then you can use these links.
* [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-openbsd-amd64.zip)
* Plan 9
* [386 - 32 Bit](http://downloads.rclone.org/rclone-current-plan9-386.zip)
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-plan9-amd64.zip)
+ * Solaris
+ * [AMD64 - 64 Bit](http://downloads.rclone.org/rclone-current-solaris-amd64.zip)
Older Downloads
==============