Commit c06ae32
authored
CMake Config: NOMPI (#5510)
## Summary
CMake package variants are opt-in. Since AMReX MPI and no-MPI builds are
binary incompatible, users might want to `REQUIRE` to select a no-MPI
build. This adds the respective option for them to use in
`find_package(AMReX COMPONENTS ...)`.
## Additional background
This is useful when both an MPI and no-MPI variant are in the users
install path.
While generally useful for other binary build options as well, MPI is
the most critical and common option where we need to provide this.
## Checklist
The proposed changes:
- [ ] fix a bug or incorrect behavior in AMReX
- [x] 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 appropriate1 parent 970b6af commit c06ae32
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
725 | 725 | | |
726 | 726 | | |
727 | 727 | | |
728 | | - | |
| 728 | + | |
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
64 | 69 | | |
65 | 70 | | |
66 | 71 | | |
| |||
0 commit comments