This is an automated email from the ASF dual-hosted git repository. astitcher pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-proton.git
commit 833bf2ffa8796a313e5c43c4276229eddeb0affd Author: Andrew Stitcher <[email protected]> AuthorDate: Tue Jan 31 15:25:49 2023 -0500 PROTON-2095: Change the Python build dependencies This should hopefully avoid mutliple custom target trying to build the same custom commands in parallel and failing. We chieve this by making the custom targets serialised. --- python/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index bae2873a2..4711ff046 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -154,10 +154,10 @@ endif() if (pydist_cmds) add_custom_command(OUTPUT .timestamp.dist - DEPENDS .timestamp.copied_pysrc ${pysrc_files} - COMMAND ${CMAKE_COMMAND} -E remove -f .timestamp.dist - COMMAND ${Python_EXECUTABLE} setup.py ${pydist_cmds} - COMMAND ${CMAKE_COMMAND} -E touch .timestamp.dist) + DEPENDS .timestamp.cproton_ffi + COMMAND ${CMAKE_COMMAND} -E remove -f .timestamp.dist + COMMAND ${Python_EXECUTABLE} setup.py ${pydist_cmds} + COMMAND ${CMAKE_COMMAND} -E touch .timestamp.dist) add_custom_target(pydist ALL DEPENDS .timestamp.dist) endif () --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
