Skip to content

Upgrade gcc to 11.2 and add sparrow dependency #2355

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 10, 2025
Merged

Conversation

IvoDD
Copy link
Collaborator

@IvoDD IvoDD commented May 14, 2025

Reference Issues/PRs

Monday ref: 8873104825

What does this implement or fix?

This PR upgrades the manylinux image to use gcc-11.2.1 and adds the vcpkg sparrow dependency. This also required updating boost from 1.84 to 1.87.

We were using g++-10 for the manylinux2014 image.

Discussions with QS lead to deciding that we should upgrade compiler to
gcc 11.2.1 to be able to compile sparrow 0.8.0.

Adding the sparrow dependency required updating the vcpkg baseline to pick up the new package.

The new baseline requires extra package version pinning to make sure everything is compatible with eachother. I've made sure to not upgrade any major sdks which already had pins.

This PR only updates the version of boost from 1.84 to 1.87 to resolve a compilation issue with boost-regex. The boost upgrade is in a separate commit.

Any other comments?

Successful CI run from this branch's Build and Test workflow here. It uses the updated arcticdb-dev docker image for the c++ tests instead of the clang one.

Successful CI run of Build with analisys tools here.

Checklist

Checklist for code changes...
  • Have you updated the relevant docstrings, documentation and copyright notice?
  • Is this contribution tested against all ArcticDB's features?
  • Do all exceptions introduced raise appropriate error messages?
  • Are API changes highlighted in the PR description?
  • Is the PR labelled as enhancement or bug so it appears in autogenerated release notes?

@IvoDD IvoDD added the patch Small change, should increase patch version label May 14, 2025
@IvoDD IvoDD force-pushed the upgrade-gcc-11.2 branch 6 times, most recently from 1bd1827 to f4d3f40 Compare May 16, 2025 07:53
@IvoDD IvoDD marked this pull request as ready for review May 16, 2025 09:20
@IvoDD IvoDD force-pushed the upgrade-gcc-11.2 branch from f4d3f40 to d86fad3 Compare May 16, 2025 12:54
IvoDD added 3 commits June 4, 2025 10:56
Upgrades both the `arcticdb_manylinux` and `arcticdb-dev` images to use gcc
11.2.

This is required to be able to use sparrow 0.8.0
This requires updating the vcpkg baseline to pick up the new sparrow
package.

The new baseline requires extra package version pinning to make sure
everything is compatible with eachother. I've made sure to not upgrade
any major sdks which already had pins. This commit only adds extra
pinning to make sure everything compiles.
Previous version of boost 1.84 was incompatible with gcc-11.2 for some
reason. boost-regex was getting segfaults during compilation.

Also removes some boost vcpkg overlayes
@IvoDD IvoDD force-pushed the upgrade-gcc-11.2 branch from d86fad3 to 598be53 Compare June 4, 2025 07:56
@IvoDD
Copy link
Collaborator Author

IvoDD commented Jun 10, 2025

As per Georgi's suggestion I verified that the 3.8 and 3.11 wheels work within pegasus venvs

@IvoDD IvoDD merged commit 64a1f75 into master Jun 10, 2025
138 of 140 checks passed
@IvoDD IvoDD deleted the upgrade-gcc-11.2 branch June 10, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Small change, should increase patch version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants