Skip to content

Conversation

hebasto
Copy link
Owner

@hebasto hebasto commented Apr 12, 2024

This PR follows the minimum g++-11 requirements from bitcoin#29091:

  1. Update gcc version in the "ubuntu-jammy-native" job.

  2. Switch the "cross-build" task to the debian::bookworm image, which effectively bumps x86_64-w64-mingw32-g++-posix version to 12.2.

This PR should be merged before the next sync/rebase cycle, which is about to happen.

Mirrors minimum g++-11 requirements from bitcoin#29091.

1. Update gcc version in the "ubuntu-jammy-native" job.

2. Switch the "cross-build" task to the debian::bookworm image, which
effectively bumps `x86_64-w64-mingw32-g++-posix` version to 12.2
@hebasto
Copy link
Owner Author

hebasto commented Apr 12, 2024

Friendly ping @pablomartin4btc @m3dwards @vasild :)

@m3dwards
Copy link

Is the reason for changing the cross build task to use debian::bookworm to have at least some builds happening on gcc 12 or is this version of mingw32 required for something that otherwise wasn't possible? I don't have an objection either way, just interested in the motivation.

@hebasto
Copy link
Owner Author

hebasto commented Apr 12, 2024

Is the reason for changing the cross build task to use debian::bookworm to have at least some builds happening on gcc 12 or is this version of mingw32 required for something that otherwise wasn't possible? I don't have an objection either way, just interested in the motivation.

The motivation is for mingw32 cross-compiler.

Anyway, these CI scripts won't go to the master branch :)

Copy link

@pablomartin4btc pablomartin4btc left a comment

Choose a reason for hiding this comment

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

cr ACK 475cf6d

Compared & verified cross CI builds (steps: "Install dependency packages", "Build depends", "Generate build system"), pre/ post changes.

Thanks @m3dwards & @hebasto for the clarification on the motivation.

@m3dwards
Copy link

utACK 475cf6d

@hebasto hebasto merged commit bdaa036 into cmake-staging Apr 16, 2024
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.

3 participants