Skip to content
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

fix: update docker base image to ubuntu 22.04 #252

Merged
merged 1 commit into from
Mar 11, 2024

Conversation

HalosGhost
Copy link
Collaborator

Having migrated to C++20, we ran into a version of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100346

By migrating to a more recent Ubuntu image, we benefit from more recent compiler versions which avoid the build errors.

The additional library linkages for the benchmarks seem to have become required on some platforms in addition.

Having migrated to C++20, we ran into a version of
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100346

By migrating to a more recent Ubuntu image, we benefit from more
recent compiler versions which avoid the build errors.

The additional library linkages for the benchmarks seem to have
become required on some platforms in addition.

Signed-off-by: Sam Stuewe <[email protected]>
@HalosGhost HalosGhost requested a review from maurermi March 8, 2024 21:17
Copy link
Collaborator

@maurermi maurermi left a comment

Choose a reason for hiding this comment

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

T-ACK. These changes fix the previously (recently) observed error in building using Docker. Tested by running scripts/build-docker.sh and running the test suite in Docker. Looks good to merge.

One note is that scripts/Dockerfile seems like it is not necessary to keep around. I am not sure what it does and had no issue building the docker containers without it.

@HalosGhost
Copy link
Collaborator Author

cf. #252 (comment) for my reasoning for leaving this in in this PR; once we've finished vetting that it won't break any other tooling we have (most obviously the TC), I'd be happy to accept a PR to remove it.

@HalosGhost HalosGhost merged commit 84db009 into mit-dci:trunk Mar 11, 2024
6 checks passed
@HalosGhost HalosGhost deleted the fix/cpp20-docker-build branch March 11, 2024 16:21
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