Skip to content

Commit

Permalink
patch timeout needs to be larger, esp. for parallel build
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Oct 13, 2021
1 parent cb22a00 commit 2bd6284
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/mumps_patch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,27 @@ if(WIN32)
find_program(WSL NAMES wsl REQUIRED)

execute_process(COMMAND ${WSL} wslpath ${mumps_orig}
TIMEOUT 5
TIMEOUT 15
OUTPUT_VARIABLE mumps_orig_path
COMMAND_ERROR_IS_FATAL ANY
OUTPUT_STRIP_TRAILING_WHITESPACE
)

execute_process(COMMAND ${WSL} wslpath ${mumps_patch}
TIMEOUT 5
TIMEOUT 15
OUTPUT_VARIABLE mumps_patch_path
COMMAND_ERROR_IS_FATAL ANY
OUTPUT_STRIP_TRAILING_WHITESPACE
)

execute_process(COMMAND ${WSL} patch ${mumps_orig_path} ${mumps_patch_path}
TIMEOUT 10
TIMEOUT 15
COMMAND_ERROR_IS_FATAL ANY
)
else()
find_program(PATCH NAMES patch REQUIRED)
execute_process(COMMAND ${PATCH} ${mumps_orig} ${mumps_patch}
TIMEOUT 10
TIMEOUT 15
COMMAND_ERROR_IS_FATAL ANY
)
endif()
Expand Down

0 comments on commit 2bd6284

Please sign in to comment.