This program creates the files necessary to compile gotop with selected extensions. You need:
- The tagged version of gotop to compile (e.g., "v3.5.1")
- One (or more) extensions to enable (e.g. "github.com/xxxserxxx/gotop-nvidia")
- Go. Since gotop requires Go >= 1.14, that's what you'll need.
Run with -h
to get help text, including a mostly complete copy of this
file.
$ go run ./build.go -r v4.0.0 github.com/xxxserxxx/gotop-nvidia
$ go build -o gotop ./gotop.go
In the releases section are all-inclusive binaries for Linux. These binaries have all extensions compiled into them: