[CXX-2530] Add missing Debian and Ubuntu build variants Created: 17/Jun/22  Updated: 28/Oct/23  Resolved: 25/Aug/22

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.7.0

Type: Task Priority: Unknown
Reporter: Roberto Sanchez Assignee: Roberto Sanchez
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
related to CXX-2568 Add Ubuntu 22.04 build variant Backlog

 Description   

As of SERVER-62299, the server has added build variants for the distro debian11. And coming in SERVER-62300 and SERVER-62301, there will be build variants for the distro ubuntu22. The mongo-cxx-driver project requires a build variants for debian11 and ubuntu22. Additionally, build variants are needed for ubuntu20, as these were never added to the mongo-cxx-driver project.



 Comments   
Comment by Githook User [ 25/Aug/22 ]

Author:

{'name': 'Roberto C. Sánchez', 'email': 'roberto@connexer.com', 'username': 'rcsanchez97'}

Message: CXX-2530 add missing Debian 10, 11 and Ubuntu 20.04 build variants
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/5bb907535ab67884c572f17c6e25feb67bf8ef58

Comment by Roberto Sanchez [ 25/Aug/22 ]

This ticket was originally intended to also cover the addition of build variants for ubuntu22. However, there are no server builds yet for Ubuntu 22.04, so that work has been split into a separate ticket, CXX-2568.

Comment by Roberto Sanchez [ 08/Aug/22 ]

kevin.albertson@mongodb.com as I was starting to work on this issue I noticed that the documentation concerning supported platforms seems outdated and generally out of sync with what have currently in Evergreen.

Currently, we have this:

We currently test the driver on the following platforms:
 
- Linux with clang 3.8 and 6.0, GCC 5.4 and 7.5
- macOS with Apple clang 11.0 using Boost 1.70.0
- Windows with Visual Studio 2015 using Boost 1.60.0 and Visual Studio 2017
 
Versions older than the ones listed may not work and are not supported; use them at your own risk.
 
Versions newer than the ones listed above should work; if you have problems, please file a bug report via JIRA.

The section immediately preceding this specifies the pre-requisites. It seems somewhat confusing to me and it also seems that this particular section isn't getting regular updates when we update the Evergreen test matrix. It isn't clear what the benefit is of having this section if it is going to end up outdated and not accurately reflecting the current platforms and components.

My recommendation, since we have the prerequisites specified, is to replace this section with this:

If you encounter build failures or other problems with a platform configuration that meets the above prerequisites, please file a bug report via JIRA.

I don't think that this needs to be done specifically as part of this ticket, but it seems somewhat trivial and not big enough to include in a separate ticket. If this seems OK, then I'll include it as a separate commit alongside the change to add the new build variants.

Generated at Wed Feb 07 22:06:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.