Skip to content

Commit

Permalink
Don't run with MPI on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Feb 11, 2025
1 parent 379dc55 commit 3059074
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ if(CMAKE_BUILD_TESTS)
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/test/examples)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../examples/6_Autograd
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/test/examples)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../examples/7_MPI
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/test/examples)
add_subdirectory(test/examples)
# NOTE: We do not currently support running with MPI on Windows
if(UNIX)
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/../examples/7_MPI
DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/test/examples)
add_subdirectory(test/examples)
endif()
endif()

0 comments on commit 3059074

Please # to comment.