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:
parent
8cec6edeef
commit
0ed67d6b2d
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue