-
Notifications
You must be signed in to change notification settings - Fork 166
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
Fixes for Ubuntu 16.04 to fix C++ coverage #2705
Conversation
On Ubuntu 16.04 the `python3-pip` package is not compatible with Python 3.8 and later. Downgrade Python 3 to Python 3.7 which is new enough for building current Node.js (Python 3.6 or later) but still compatible with the `python3-pip` package.
Code coverage runs `gcov` but this needs to match the version of gcc/g++ used.
FTR the Ansible changes have been deployed to both benchmark machines
and I've manually As an aside, I view the stuff we've had to juggle with Python 3 on these machines more reason to update them to Ubuntu 20.04 (#2656). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Update the version of `gcovr` used for C++ coverage from 3.4 to 4.2 for compatibility with gcc/g++ 8. PR-URL: #39326 Refs: #39303 Refs: gcovr/gcovr#228 Refs: nodejs/build#2705 Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Two build side fixes required together with nodejs/node#39326 to address the currently broken C++ coverage.
ansible: downgrade to Python 3.7 on Ubuntu 16.04
On Ubuntu 16.04 the
python3-pip
package is not compatible withPython 3.8 and later. Downgrade Python 3 to Python 3.7 which is
new enough for building current Node.js (Python 3.6 or later) but
still compatible with the
python3-pip
package.jenkins: set GCOV on Ubuntu to match CC/CXX
Code coverage runs
gcov
but this needs to match the version ofgcc/g++ used.
Refs: nodejs/node#39303
Refs: nodejs/node#39326