Merge pull request #4143 from opensourcerouting/update-libyang-build-intr

doc: update libyang build instructions to enable compiler optimizations
This commit is contained in:
Quentin Young 2019-04-16 11:58:51 -04:00 committed by GitHub
commit c74fea17c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,8 @@ The FRR project builds binary ``libyang`` packages, which we offer for download
git clone https://github.com/CESNET/libyang.git
cd libyang
mkdir build; cd build
cmake -DENABLE_LYD_PRIV=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
cmake -DENABLE_LYD_PRIV=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr \
-D CMAKE_BUILD_TYPE:String="Release" ..
make
sudo make install