Skip to content

Drop ppc64le support from all ruby packages#65

Open
aramprice wants to merge 1 commit into
mainfrom
drop-ppc64le-support
Open

Drop ppc64le support from all ruby packages#65
aramprice wants to merge 1 commit into
mainfrom
drop-ppc64le-support

Conversation

@aramprice

@aramprice aramprice commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

  • Removes the ppc64le (POWER little-endian) architecture workaround from the ruby packaging scripts
  • Deletes src/config/config.guess and src/config/config.sub (GNU autoconf platform detection helpers that are no longer needed)
  • Updates all three ruby package specs and the CI templates consistently

Background

The config.guess / config.sub files were copied into the yaml/ruby build tool/ directories on ppc64le because older versions of autoconf bundled with the build tools couldn't identify the ppc64le platform. These files contained an up-to-date copy of GNU config that recognized ppc64le.

Since ppc64le is no longer a supported target for bosh-package-ruby-release (we target ubuntu-noble on x86_64 / aarch64), this workaround can be cleanly removed.

Files changed

File Change
packages/ruby-{3.3,3.4,4.0}/packaging Remove if ppc64le blocks (×2 per file — yaml build and ruby build)
packages/ruby-{3.3,3.4,4.0}/spec Remove config/config.guess and config/config.sub file entries
ci/templates/packages/ruby/packaging.erb Same as above for template
ci/templates/packages/ruby/spec.erb Same as above for template
src/config/config.guess Deleted
src/config/config.sub Deleted

@aramprice

Copy link
Copy Markdown
Member Author

Fixes #65

Remove the ppc64le architecture workaround that copied GNU autoconf
config.guess and config.sub into yaml/ruby build tool directories.
These files were needed because older autoconf couldn't identify the
ppc64le (POWER little-endian) platform, but ppc64le is no longer a
supported target for this release.

Changes:
- Remove `if ppc64le` blocks from ruby-3.3, ruby-3.4, ruby-4.0 packaging scripts
- Remove config/config.guess and config/config.sub blob references from all spec files
- Delete src/config/config.guess and src/config/config.sub
- Update CI templates (packaging.erb, spec.erb) consistently
@aramprice aramprice force-pushed the drop-ppc64le-support branch from 272cb97 to 4c419fc Compare July 14, 2026 03:16
@aramprice aramprice requested a review from Copilot July 14, 2026 03:16
@aramprice aramprice requested review from a team, julian-hj and s4heid and removed request for a team July 14, 2026 03:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the legacy ppc64le workaround from the Ruby packaging flow now that ppc64le is no longer a supported target for this release (targeting ubuntu-noble on x86_64 / aarch64).

Changes:

  • Removes ppc64le-specific config.guess/config.sub copy logic from Ruby + libyaml build steps (and from the CI templates that generate these scripts).
  • Drops config/config.guess and config/config.sub entries from all Ruby package specs.
  • Deletes the vendored GNU config.guess and config.sub files under src/config/.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/config/config.sub Deletes vendored config.sub since ppc64le is no longer supported/needed.
src/config/config.guess Deletes vendored config.guess since ppc64le is no longer supported/needed.
packages/ruby-4.0/spec Removes config/config.{guess,sub} from package file list.
packages/ruby-4.0/packaging Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds.
packages/ruby-3.4/spec Removes config/config.{guess,sub} from package file list.
packages/ruby-3.4/packaging Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds.
packages/ruby-3.3/spec Removes config/config.{guess,sub} from package file list.
packages/ruby-3.3/packaging Removes ppc64le conditional copy of config.{guess,sub} into ./tool for yaml/ruby builds.
ci/templates/packages/ruby/spec.erb Updates spec template to no longer include config/config.{guess,sub}.
ci/templates/packages/ruby/packaging.erb Updates packaging template to remove ppc64le workaround copy logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-project-automation github-project-automation Bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Pending Merge | Prioritized

Development

Successfully merging this pull request may close these issues.

3 participants