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

Build: Remove default TMP_BUILD_DIR #82

Merged
merged 3 commits into from
Jan 7, 2025

Conversation

mirenradia
Copy link
Member

I think this will help with #68. The disadvantage (and the reason I bothered to set this default in the first place) is that consecutive builds of different AMReX executables (e.g. two different examples) will be slower. To mitigate this, users should use Ccache which I have added to the README. I will make a separate PR to add Ccache to the CI workflows.

@mirenradia mirenradia added the enhancement New feature or request label Dec 20, 2024
@mirenradia mirenradia self-assigned this Dec 20, 2024
@mirenradia mirenradia force-pushed the enhancement/common_tmp_build_dir branch from 596c128 to 623c99c Compare December 23, 2024 10:35
I think this will help with #68. The disadvantage (and the reason I
bothered to set this default in the first place) is that consecutive
builds of different AMReX executables (e.g. two different examples) will
be slower. To mitigate this, users should use Ccache. I will add this to
the CI in a separate PR.
@mirenradia mirenradia force-pushed the enhancement/common_tmp_build_dir branch from 623c99c to 1444aa8 Compare January 7, 2025 17:22
@mirenradia mirenradia marked this pull request as ready for review January 7, 2025 17:23
Copy link
Contributor

@julianakwan julianakwan left a comment

Choose a reason for hiding this comment

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

Thanks for making these changes. I've checked that this resolves the race condition when there is more than one example being built in the Examples directory

@julianakwan julianakwan merged commit edeb39e into develop Jan 7, 2025
56 checks passed
@julianakwan julianakwan deleted the enhancement/common_tmp_build_dir branch January 7, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants