CDRIVER-5924 test on Graviton #1905
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Test on Graviton with latest server
Background & Motivation
Testing Graviton is requested in DRIVERS-2436. MongoDB servers on Graviton is expected to be more common. Additional testing appears motivated by server issues encountered on Graviton. HELP-37322 references two behavior differences:
char
is unsigned on ARM.-ffp-contract
(which differs from clang).Neither appear specific to Graviton. (1) applies to other ARM CPUs. The C driver already tests on arm (via
ubuntu2004-arm64
). (2) appears non-applicable to the C driver. Quoting https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html:The C driver specifies C99 by default. So I expect the default C build agrees with
clang
. Regardless, I expect there are few floating point algorithms in the driver that would be affected.Though the server supports arm on 4.2-latest, this PR proposes only testing the latest server. The C driver already tests on ARM (via
ubuntu2004-arm64
). And a patch build testing 4.2-latest servers showed no issues.