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