mirror of
https://github.com/rclone/rclone.git
synced 2025-12-10 05:13:45 +00:00
build: enable support for aix/ppc64
* Adds "aix/ppc64" to the cross-compile target list. * Including AIX in the build tag of "metadata_other.go". * Excluding AIX from the main ncdu build tags. * Marking AIX as an unsupported platform for ncdu. * Excluding AIX from the fallback redirect implementation. * Excluding AIX from unix build tags to avoid undefined unix.WNOHANG.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
//go:build dragonfly || plan9 || js
|
//go:build dragonfly || plan9 || js || aix
|
||||||
|
|
||||||
package local
|
package local
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ var osarches = []string{
|
|||||||
"plan9/amd64",
|
"plan9/amd64",
|
||||||
"solaris/amd64",
|
"solaris/amd64",
|
||||||
// "js/wasm", // Rclone is too big for js/wasm until https://github.com/golang/go/issues/64856 is fixed
|
// "js/wasm", // Rclone is too big for js/wasm until https://github.com/golang/go/issues/64856 is fixed
|
||||||
|
"aix/ppc64",
|
||||||
}
|
}
|
||||||
|
|
||||||
// Special environment flags for a given arch
|
// Special environment flags for a given arch
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !plan9 && !js
|
//go:build !plan9 && !js && !aix
|
||||||
|
|
||||||
// Package ncdu implements a text based user interface for exploring a remote
|
// Package ncdu implements a text based user interface for exploring a remote
|
||||||
package ncdu
|
package ncdu
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// Build for ncdu for unsupported platforms to stop go complaining
|
// Build for ncdu for unsupported platforms to stop go complaining
|
||||||
// about "no buildable Go source files "
|
// about "no buildable Go source files "
|
||||||
|
|
||||||
//go:build plan9 || js
|
//go:build plan9 || js || aix
|
||||||
|
|
||||||
// Package ncdu implements a text based user interface for exploring a remote
|
// Package ncdu implements a text based user interface for exploring a remote
|
||||||
package ncdu
|
package ncdu
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
// Log the panic to the log file - for oses which can't do this
|
// Log the panic to the log file - for oses which can't do this
|
||||||
|
|
||||||
//go:build !windows && !darwin && !dragonfly && !freebsd && !linux && !nacl && !netbsd && !openbsd
|
//go:build !windows && !darwin && !dragonfly && !freebsd && !linux && !nacl && !netbsd && !openbsd && !aix
|
||||||
|
|
||||||
package log
|
package log
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build !unix
|
//go:build !unix || aix
|
||||||
|
|
||||||
// Package daemonize provides daemonization stub for non-Unix platforms.
|
// Package daemonize provides daemonization stub for non-Unix platforms.
|
||||||
package daemonize
|
package daemonize
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
//go:build unix
|
//go:build unix && !aix
|
||||||
|
|
||||||
// Package daemonize provides daemonization interface for Unix platforms.
|
// Package daemonize provides daemonization interface for Unix platforms.
|
||||||
package daemonize
|
package daemonize
|
||||||
|
|||||||
Reference in New Issue
Block a user