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

Make catch_main.cpp and avoid redundant compilation #2389

Merged
merged 5 commits into from
Apr 19, 2020

Conversation

ye-luo
Copy link
Contributor

@ye-luo ye-luo commented Apr 16, 2020

Proposed changes

Merge after #2386, closes #2387

What type(s) of changes does this code introduce?

  • Build related changes

Does this introduce a breaking change?

  • No

What systems has this change been tested on?

bora

Checklist

  • Yes. This PR is up to date with current the current state of 'develop'

@ye-luo ye-luo changed the title Make catch_main.cpp and avoid redudant compilation [WIP] Make catch_main.cpp and avoid redudant compilation Apr 17, 2020
@ye-luo ye-luo changed the title [WIP] Make catch_main.cpp and avoid redudant compilation Make catch_main.cpp and avoid redudant compilation Apr 17, 2020
Copy link
Contributor

@prckent prckent left a comment

Choose a reason for hiding this comment

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

Quick check for a basket of builds on nitrogen (with the weekly tests still running in the background): 35m22s reduced to 29m39s. Good optimization.

grep -e "Script START" -e "Script END" -e "START build_" -e "tests, passed" out_unit_*
out_unit_dev:--- Script START Sun Apr 19 14:51:19 EDT 2020
out_unit_dev:--- START build_gccnew Sun Apr 19 14:51:20 EDT 2020
out_unit_dev:--- START build_gcccuda Sun Apr 19 14:54:11 EDT 2020
out_unit_dev:--- START build_gcccuda_full Sun Apr 19 14:58:44 EDT 2020
out_unit_dev:--- START build_gcccuda_complex Sun Apr 19 15:01:14 EDT 2020
out_unit_dev:--- START build_gccnew_complex Sun Apr 19 15:03:45 EDT 2020
out_unit_dev:--- START build_gccnew_nompi Sun Apr 19 15:06:47 EDT 2020
out_unit_dev:--- START build_gccnew_nompi_complex Sun Apr 19 15:08:46 EDT 2020
out_unit_dev:--- START build_clangnew Sun Apr 19 15:10:48 EDT 2020
out_unit_dev:--- START build_clangnew_complex Sun Apr 19 15:13:18 EDT 2020
out_unit_dev:--- START build_clangnew_mixed Sun Apr 19 15:16:01 EDT 2020
out_unit_dev:--- START build_clangnew_complex_mixed Sun Apr 19 15:18:35 EDT 2020
out_unit_dev:--- START build_clangnew_aos Sun Apr 19 15:21:21 EDT 2020
out_unit_dev:--- START build_clangnew_complex_aos Sun Apr 19 15:23:55 EDT 2020
out_unit_dev:--- Script END Sun Apr 19 15:26:41 EDT 2020
out_unit_pr:--- Script START Sun Apr 19 15:43:02 EDT 2020
out_unit_pr:--- START build_gccnew Sun Apr 19 15:43:03 EDT 2020
out_unit_pr:--- START build_gcccuda Sun Apr 19 15:45:34 EDT 2020
out_unit_pr:--- START build_gcccuda_full Sun Apr 19 15:47:43 EDT 2020
out_unit_pr:--- START build_gcccuda_complex Sun Apr 19 15:49:54 EDT 2020
out_unit_pr:--- START build_gccnew_complex Sun Apr 19 15:52:12 EDT 2020
out_unit_pr:--- START build_gccnew_nompi Sun Apr 19 15:55:02 EDT 2020
out_unit_pr:--- START build_gccnew_nompi_complex Sun Apr 19 15:56:47 EDT 2020
out_unit_pr:--- START build_clangnew Sun Apr 19 15:58:28 EDT 2020
out_unit_pr:--- START build_clangnew_complex Sun Apr 19 16:00:42 EDT 2020
out_unit_pr:--- START build_clangnew_mixed Sun Apr 19 16:03:10 EDT 2020
out_unit_pr:--- START build_clangnew_complex_mixed Sun Apr 19 16:05:32 EDT 2020
out_unit_pr:--- START build_clangnew_aos Sun Apr 19 16:08:01 EDT 2020
out_unit_pr:--- START build_clangnew_complex_aos Sun Apr 19 16:10:15 EDT 2020
out_unit_pr:--- Script END Sun Apr 19 16:12:41 EDT 2020

@prckent prckent changed the title Make catch_main.cpp and avoid redudant compilation Make catch_main.cpp and avoid redundant compilation Apr 19, 2020
@prckent prckent merged commit f16ec7b into QMCPACK:develop Apr 19, 2020
@ye-luo ye-luo deleted the split-catch-main branch April 21, 2020 06:30
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.

compiling catch main is slow
2 participants