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

Add ability for GCC 8 in CMake to build fgradient which uses std::filesystem #3523

Merged
merged 2 commits into from
Sep 1, 2023

Conversation

jrood-nrel
Copy link
Contributor

Summary

Since GCC 8 is still a base compiler on several Linux distributions, I think it should probably continue to be supported. This allows fgradient to link to the std::filesystem library necessary for GCC < 9 and succeed in building.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • include documentation in the code and/or rst files, if appropriate

@WeiqunZhang WeiqunZhang requested a review from ax3l August 30, 2023 17:00
@ax3l ax3l self-assigned this Sep 1, 2023
@ax3l ax3l added the install label Sep 1, 2023
Copy link
Member

@ax3l ax3l left a comment

Choose a reason for hiding this comment

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

Thank you for this.
Brave! :D

@ax3l ax3l merged commit 6d862f2 into AMReX-Codes:development Sep 1, 2023
66 checks passed
jrood-nrel added a commit to jrood-nrel/amrex that referenced this pull request Oct 19, 2023
WeiqunZhang added a commit to WeiqunZhang/amrex that referenced this pull request Oct 19, 2023
It has caused a lot of issues on systems with a default gcc <= 8.  PR AMReX-Codes#3523
was trying to the issue. But unfortunately it does not always work. So we
are going to simply avoid std::filesystem.
WeiqunZhang added a commit that referenced this pull request Oct 19, 2023
It has caused a lot of issues on systems with a default gcc <= 8. PR
#3523 was trying to the issue. But unfortunately it does not always
work. So we are going to simply avoid std::filesystem.
WeiqunZhang pushed a commit that referenced this pull request Oct 19, 2023
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
It has caused a lot of issues on systems with a default gcc <= 8. PR
AMReX-Codes#3523 was trying to the issue. But unfortunately it does not always
work. So we are going to simply avoid std::filesystem.
guj pushed a commit to guj/amrex that referenced this pull request Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants