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
The following commit(s) were added to refs/heads/main by this push:
new 36dc28788 PROTON-2679: Fix Python build dependencies again
36dc28788 is described below
commit 36dc2878838cd21f1ca3981cea1814f95be3670b
Author: Andrew Stitcher <[email protected]>
AuthorDate: Fri Feb 3 12:34:53 2023 -0500
PROTON-2679: Fix Python build dependencies again
This makes the python build dependencies even more linear and should
hopefully remove the final issues in parallel build for python.
---
python/CMakeLists.txt | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 4711ff046..69b2a56f6 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -158,7 +158,10 @@ if (pydist_cmds)
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)
+ add_custom_target(pydist DEPENDS .timestamp.dist)
+ add_custom_target(pytest_cffi ALL DEPENDS pydist)
+else()
+ add_custom_target(pytest_cffi ALL DEPENDS .timestamp.cproton_ffi)
endif ()
# python test: python/tests/proton-test
@@ -206,8 +209,6 @@ add_custom_command(
DEPENDS ${pytest_venv}/env.txt .timestamp.copied_pysrc ${pysrc_files}
)
-add_custom_target(pytest_cffi ALL DEPENDS .timestamp.cproton_ffi)
-
pn_add_test(
INTERPRETED
NAME python-test
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]