From 66eb053cd97a856221e1887733463fbf3c58a85a Mon Sep 17 00:00:00 2001 From: Adrian Stanea Date: Mon, 23 Oct 2023 14:41:01 +0300 Subject: [PATCH] ci: fix package dependencies - install libiio as .deb package since it was not found by the LinuxPackaging.cmake Signed-off-by: Adrian Stanea --- CI/ubuntu/install_deps | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/CI/ubuntu/install_deps b/CI/ubuntu/install_deps index 8cba16cc..dc2bac82 100755 --- a/CI/ubuntu/install_deps +++ b/CI/ubuntu/install_deps @@ -31,16 +31,23 @@ handle_default() { # Install libiio echo "Building libiio - version $LIBIIO_VERSION" + + #Also install Sphinx for Python bindings + sudo apt-get install python3-sphinx + sudo pip3 install --upgrade sphinx_rtd_theme + cd ${TOP_DIR} git clone https://github.com/analogdevicesinc/libiio.git -b $LIBIIO_VERSION libiio mkdir ./libiio/build && cd ./libiio/build - cmake ../ + cmake ../ -DCOMPILE_WARNING_AS_ERROR=ON -DENABLE_PACKAGING=ON -DPYTHON_BINDINGS=ON -DWITH_DOC=ON -DWITH_MAN=ON -DWITH_USB_BACKEND=OFF -DWITH_IIOD_USBD=OFF -DWITH_LOCAL_MMAP_API=OFF make - sudo make install + make package + sudo apt install ./libiio-*.deb + # sudo make install } handle_doxygen() { - # TODO: REVIE THIS AFTER THE REWORK - IT MIGHT BREAK + # TODO: REVIEW THIS AFTER THE REWORK - IT MIGHT BREAK # Install a recent version of doxygen DOXYGEN_URL="wget https://sourceforge.net/projects/doxygen/files/rel-1.8.15/doxygen-1.8.15.src.tar.gz" cd ${DEPS_DIR}