Skip to content

build-bpf-gcc: add gcc-version input to select the GCC major version - #227

Merged
theihor merged 1 commit into
mainfrom
build-bpf-gcc-version-input
Jul 29, 2026
Merged

build-bpf-gcc: add gcc-version input to select the GCC major version#227
theihor merged 1 commit into
mainfrom
build-bpf-gcc-version-input

Conversation

@vineetgarc

Copy link
Copy Markdown
Collaborator

The GCC major version was hardcoded to 15 in latest-snapshots.sh. Add a 'gcc-version' action input (default "15", so existing callers are unchanged) that is passed through as $GCC_VERSION and used to pick the LATEST- snapshot directory and tarball. This lets callers (e.g. theihor/gcc-bpf) build GCC 16 for BPF CI toolchain experiments without forking the action.

The GCC major version was hardcoded to 15 in latest-snapshots.sh. Add a
'gcc-version' action input (default "15", so existing callers are unchanged)
that is passed through as $GCC_VERSION and used to pick the LATEST-<version>
snapshot directory and tarball. This lets callers (e.g. theihor/gcc-bpf) build
GCC 16 for BPF CI toolchain experiments without forking the action.
@vineetgarc
vineetgarc requested a review from theihor July 29, 2026 17:26

@theihor theihor left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@theihor
theihor merged commit e145775 into main Jul 29, 2026
18 checks passed
@vineetgarc
vineetgarc deleted the build-bpf-gcc-version-input branch July 29, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants