From 0ed67d6b2d1988cf34ca887179a1f75ed298fb52 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 13 Jun 2020 16:08:24 +0200 Subject: [PATCH] fpga: add libxil to deps.sh --- packaging/deps.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packaging/deps.sh b/packaging/deps.sh index d17879633..5aa843a57 100644 --- a/packaging/deps.sh +++ b/packaging/deps.sh @@ -169,6 +169,18 @@ if ! pkg-config "nanomsg >= 1.0.0"; then popd fi +# Build & Install libxil +if ! pkg-config "libxil >= 1.0.0"; then + git clone https://git.rwth-aachen.de/acs/public/villas/fpga/libxil.git + mkdir -p libxil/build + pushd libxil/build + cmake ${CMAKE_OPTS} .. + if [ -z "${PACKAGE}" ]; then + make -j$(nproc) install + fi + popd +fi + if [ -n "${PACKAGE}" ]; then cp ~/rpmbuild/RPMS/x86_64/*.rpm rpms fi