mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
33ef5f9150
26 lines
770 B
Python
26 lines
770 B
Python
# Supported pairs of system and architecture. (GOOS, GOARCH).
|
|||
binary_targets = [
|
|||
("linux", "amd64"),
|
|||
("linux", "arm64"),
|
|||
# TODO(2849): Enable after cross OS compilation is supported.
|
|||
# https://github.com/prysmaticlabs/prysm/issues/2849
|
|||
# ("darwin", "amd64"),
|
|||
# ("windows", "amd64"),
|
|||
]
|
|||
|
|||
# Determine binary targets from a supported pair. These targets are part of the
|
|||
# distributable bundle.
|
|||
def determine_targets(pair, common_files):
|
|||
targets = {
|
|||
"//beacon-chain:beacon-chain-{}-{}".format(
|
|||
pair[0],
|
|||
pair[1],
|
|||
): "beacon-chain",
|
|||
"//validator:validator-{}-{}".format(
|
|||
pair[0],
|
|||
pair[1],
|
|||
): "validator",
|
|||
}
|
|||
targets.update(common_files)
|
|||
return targets
|