You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
566 B
12 lines
566 B
#!/bin/bash
|
|
sudo apt-get update
|
|
sudo apt-get -y install build-essential pkg-config git libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip python zlib1g-dev wget bsdmainutils automake libssl-dev libprotobuf-dev protobuf-compiler libqrencode-dev ntp ntpdate software-properties-common curl libcurl4-openssl-dev cmake clang libevent-dev libboost-all-dev
|
|
cd ~
|
|
git clone https://github.com/nanomsg/nanomsg
|
|
cd nanomsg
|
|
mkdir build
|
|
cd build
|
|
cmake .. -DNN_TESTS=OFF -DNN_ENABLE_DOC=OFF
|
|
cmake --build . -j$(nproc)
|
|
sudo cmake --build . --target install
|
|
sudo ldconfig
|
|
|