@@ -14,7 +14,7 @@ libcamera_package() {
meson install -C build --no-rebuild \
--destdir install \
- --tags bin,bin-devel,runtime
+ --tags bin,bin-devel,python-runtime,runtime
tar -cJf libcamera-${CI_COMMIT_SHA}.tar.xz -C build/install/ .
}
@@ -284,9 +284,11 @@ build-package:debug:
-D b_sanitize=address,undefined
-D cpp_debugstl=true
-D force_fallback_for=['gtest']
+ -D python.platlibdir=/usr/local/lib/python3.11/dist-packages
-D pipelines=['auto','virtual']
-D auto_features=disabled
-D lc-compliance=enabled
+ -D pycamera=enabled
-D test=false
-D tracing=enabled
parallel:
It is useful to have Python bindings in the debug packages in order to run Python tests on target devices. Enable them. Set the Python platlibdir option manually as the meson python module does not set it correctly when building with the /usr/local prefix. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- This patch depends on the "py: Improve native and cross-compilation of Python bindings" series I have justed posted (https://patchwork.libcamera.org/project/libcamera/list/?series=5393) to fix the installation path using the python.platlibdir option. --- .gitlab-ci/package-libcamera.sh | 2 +- gitlab-ci.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) base-commit: d58b30ed21a5663c5c6fd19da158de01b186831e