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

C++17 #953

Merged
merged 31 commits into from
Sep 5, 2023
Merged

C++17 #953

merged 31 commits into from
Sep 5, 2023

Conversation

GiovanniBussi
Copy link
Member

Description

I think that in the future it will become more and more difficult to maintain the CI tests on centos7 as packages we depend on for testing are less and less supported (see this recent fix 762bca7). I would suggest we do the transition now and switch to C++17 in plumed 2.10.

Closes #930 .

NB: I have to take care of the conflicts now, should be easy.

Target release

I would like my code to appear in release v2.10

@GiovanniBussi
Copy link
Member Author

And, there is a massive change now from Tools::make_unique<Grid> to std::make_unique<Grid>. I think it could be reverted by just reimplementing the former as a forward to the latter, to avoid massive failures on plumed nest.

@GiovanniBussi GiovanniBussi added the wip Do not merge label Jun 19, 2023
src/tools/Tools.h Fixed Show fixed Hide fixed
@GiovanniBussi GiovanniBussi removed the wip Do not merge label Jun 19, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jun 19, 2023

Codecov Report

Patch coverage: 83.56% and project coverage change: -0.09% ⚠️

Comparison is base (544dd90) 85.11% compared to head (fb31017) 85.02%.

❗ Current head fb31017 differs from pull request most recent head 610f86b. Consider uploading reports for the commit 610f86b to get more accurate results

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #953      +/-   ##
==========================================
- Coverage   85.11%   85.02%   -0.09%     
==========================================
  Files         601      601              
  Lines       55609    55309     -300     
==========================================
- Hits        47331    47028     -303     
- Misses       8278     8281       +3     
Files Changed Coverage Δ
src/bias/PBMetaD.cpp 88.03% <ø> (-0.06%) ⬇️
src/cltools/SimpleMD.cpp 100.00% <ø> (ø)
src/wrapper/Plumed.h 50.00% <0.00%> (-0.35%) ⬇️
src/bias/MetaD.cpp 88.01% <50.00%> (+0.06%) ⬆️
src/tools/Tools.cpp 91.47% <75.00%> (-0.93%) ⬇️
src/core/PlumedMainInitializer.cpp 82.15% <93.75%> (+0.94%) ⬆️
src/cltools/Driver.cpp 90.05% <100.00%> (-0.02%) ⬇️
src/core/ActionRegister.h 100.00% <100.00%> (ø)
src/core/ActionWithArguments.cpp 89.70% <100.00%> (-1.03%) ⬇️
src/core/CLTool.cpp 84.94% <100.00%> (ø)
... and 5 more

... and 276 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

src/tools/Tools.h Dismissed Show dismissed Hide dismissed
@GiovanniBussi
Copy link
Member Author

Given the problems we have in #967 , I am more and more tempted to merge this and remove support for centos7.

If there are no objections, I will merge within tomorrow.

@GiovanniBussi GiovanniBussi merged commit 943108b into master Sep 5, 2023
32 checks passed
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.

Switch to C++17
4 participants