Skip to content

Conversation

@eramongodb
Copy link
Contributor

Verified by this patch.

#1194 added the RHEL 7.9 distro to test against GCC 4.8.5 and the bsoncxx polyfill impls via BSONCXX_POLYFILL: impls. However, the "compile" EVG function doesn't know about this env var, as it is only used by the scan-build tasks. Therefore, the task has actually been compiling against mnmlstc/core instead.

This PR extends the BSONCXX_POLYFILL pattern to the "compile" EVG function and compile.sh script for consistency, replacing the USE_POLYFILL_BOOST env var. The task now compiles with bsoncxx impls as intended. This revealed some compilation errors due to unused named parameters in optional.hpp, which this PR also addresses.

As a drive-by improvement, this PR also moves all compile/build/etc. tasks to large distro variants to reduce task execution times.

@eramongodb eramongodb requested a review from kevinAlbs October 29, 2024 14:44
@eramongodb eramongodb self-assigned this Oct 29, 2024
Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

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

Thank you for the fix. LGTM

@eramongodb eramongodb merged commit 72a2598 into mongodb:master Oct 29, 2024
@eramongodb eramongodb deleted the cxx-evg-rhel79 branch October 29, 2024 15:51
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.

2 participants