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

add nanomsg to deps.sh

This commit is contained in:
Steffen Vogel 2020-06-06 23:04:17 +02:00 committed by Steffen Vogel
parent c89b535a52
commit df038bcd72

View file

@ -150,6 +150,17 @@ if ! pkg-config "libre >= 0.5.6"; then
popd
fi
# Build & Install nanomsg
if ! pkg-config "nanomsg >= 1.0.0"; then
git clone https://github.com/nanomsg/nanomsg.git
pushd nanomsg
cmake -DCMAKE_INSTALL_LIBDIR=/usr/local/lib64 ..
if [ -z "${PACKAGE}" ]; then
make -j$(nproc) install
fi
popd
fi
if [ -n "${PACKAGE}" ]; then
cp ~/rpmbuild/RPMS/x86_64/*.rpm rpms
fi