Enable MacOS, Sonoma (OS version 14.x) building of FMS and MAPL #43726
+3
−7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the package.py scripts for the FMS and MAPL packages. These changes enabled the building of FMS and MAPL on the MacOS, Sonoma (14) with the Xcode 15.1 (apple clang 15.0.0) tools.
The primary update is to remove the usage of the MPI wrappers to build FMS and MAPL. Since these two packages use CMake, the wrappers should not be necessary. However, I realize that there were likely reasons for using the wrappers so this solution may not be viable.
I think if we can get by without the MPI wrappers, great! But I'm fine with keeping the MPI wrappers and open to other solutions. In this case, perhaps a conditional (based on MacOS for example) removal of the wrappers would be workable?
Partially addresses JCSDA/spack-stack/pull/1083. Still need to get these changes merged into the JCSDA spack fork to complete the resolution of this issue.