1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

fpga: add libxil to deps.sh

This commit is contained in:
Steffen Vogel 2020-06-13 16:08:24 +02:00
parent 8cec6edeef
commit 0ed67d6b2d

View file

@ -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