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 installs-deps -a catch2 issue on ubuntu 20.04 #516

Merged
merged 3 commits into from
Aug 11, 2023

Conversation

jw-msft
Copy link
Contributor

@jw-msft jw-msft commented Aug 10, 2023

Building catch2 from sources fails on #pragma GCC diagnostic ignored "-Wcomma-subscript" due to using gcc-9 and g++-9 packages on Ubuntu 20.04

This change installs gcc-10 and g++-10 packages on Ubuntu 20.04 to resolve this and also exports CC and CXX env variables so that catch2 CMake build will use gcc-10 and g++-10 instead of gcc-9 and g++-9.

@jw-msft jw-msft requested a review from a team August 10, 2023 23:31
shiyi-peng
shiyi-peng previously approved these changes Aug 10, 2023
Copy link
Contributor

@shiyi-peng shiyi-peng left a comment

Choose a reason for hiding this comment

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

awesome!

JeffMill
JeffMill previously approved these changes Aug 11, 2023
Copy link
Contributor

@JeffMill JeffMill left a comment

Choose a reason for hiding this comment

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

approved with comments

scripts/install-deps.sh Outdated Show resolved Hide resolved
scripts/install-deps.sh Outdated Show resolved Hide resolved
@jw-msft jw-msft dismissed stale reviews from JeffMill and shiyi-peng via 05cb632 August 11, 2023 00:53
@jw-msft jw-msft requested review from JeffMill and shiyi-peng August 11, 2023 00:55
@jw-msft jw-msft merged commit e5e41f8 into develop Aug 11, 2023
@jw-msft jw-msft deleted the user/jw-msft/fix2004instdeps branch August 11, 2023 19:24
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