-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix the build issues and tests on Apple M1 (#1053)
* Fix the build issues and tests on Apple M1 * catch submodule updated to latest release to support apple m1 build * FindMPI.cmake breaks compatibility with latest cmake version. See #1052. Fixes #1052 Fixes #1033
- Loading branch information
Showing
4 changed files
with
13 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
# | ||
# Add tests based on external repositories | ||
# | ||
|
||
# FindMPI broke backward compatibility with v3.19 | ||
if(${CMAKE_VERSION} VERSION_LESS "3.10") | ||
get_filename_component(MPIEXEC_NAME ${MPIEXEC} NAME) | ||
else() | ||
get_filename_component(MPIEXEC_NAME ${MPIEXEC_EXECUTABLE} NAME) | ||
endif() | ||
|
||
# To work around CI failures that seem related to #894 we should run `mpiexec` not | ||
# `/path/to/mpiexec` | ||
set(MPIEXEC_NAME ${MPIEXEC_NAME}) | ||
|
||
add_subdirectory(ringtest) | ||
add_subdirectory(testcorenrn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters