Skip to content

bazel: augment build-rev.sh so that it reports correct info re: host triple, target triple, etc. #66853

@rickystewart

Description

@rickystewart
# TODO(alanmas): So far HOST_TRIPLE is "hardcoded" but
# we need to ensure it gets set correctly as we continue to port things to Bazel.
# TODO(alanmas): As we don’t have a release pipeline set up for Bazel-built cockroach binaries yet
# we are not taking care of:
# - github.com/cockroachdb/cockroach/pkg/build.channel
# - github.com/cockroachdb/cockroach/pkg/util/log.crashReportEnv
# we need to keep this on track to work on them as soon as we release our pipeline.

HOST_TRIPLE="x86_64-pc-linux-gnu"

TARGET_TRIPLE=${HOST_TRIPLE}

Also probably move the script somewhere besides the top-level directory.

Epic CRDB-8035

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-systemC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-dev-inf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions