Skip to content

Commit

Permalink
ci: fix package dependencies
Browse files Browse the repository at this point in the history
- install libiio as .deb package since it was not found by the LinuxPackaging.cmake

Signed-off-by: Adrian Stanea <[email protected]>
  • Loading branch information
Adrian-Stanea committed Oct 23, 2023
1 parent cff908e commit d3cb6ac
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions CI/ubuntu/install_deps
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ handle_default() {
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y \
libxml2-dev bison flex libcdk5-dev cmake \
libaio-dev libusb-1.0-0-dev \
libserialport-dev libavahi-client-dev
libserialport-dev libavahi-client-dev man2html


#Install glog
cd ${TOP_DIR}
Expand All @@ -31,16 +32,19 @@ handle_default() {

# Install libiio
echo "Building libiio - version $LIBIIO_VERSION"

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=OFF -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}
Expand Down

0 comments on commit d3cb6ac

Please sign in to comment.