Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation: How to use build tags, and what they do #3598
Comments
|
I may try and tackle this if I can, for reference, here are the tags I know about: for dev options: |
|
Here is how to build the "go way" and also use the build tags. v0.8.1beta not being labelled properly has me paying a lot more attention to what I'm building! |
|
Notation for how go uses build tags, at top of file: |
|
How to checkout a tagged commit: |
|
Additional Tags: watchtowerrpc wtclientrpc |


Background
The binaries are built with most of the build flags already set, but when building from source you must specify which tags are desired. This is an important step to building a usable binary from source.
These flags should be listed in the docs, with what their use is for the entire system, and whether or not excluding it would break the normal function of the system.
A section on what the experimental tag does, which is required for
--routing.assumechanvalidwould be useful too, since it seems that tag includes everything plus some.Maybe for another Issue? Make a build tag, which is build everything?