Skip to content
Browse files

doc: update libyang build instructions to enable compiler optimizations

libyang defaults CMAKE_BUILD_TYPE to "Debug", which disables compiler
optimizations. We should instruct our users to build libyang in the
"Release" mode so that compiler optimizations are enabled and they
can benefit from the associated performance improvements.

Signed-off-by: Renato Westphal <>
  • Loading branch information...
rwestphal committed Apr 16, 2019
1 parent 586d378 commit 45242058ecc742dc97a8039e0ff9316840458aee
Showing with 2 additions and 1 deletion.
  1. +2 −1 doc/developer/building-libyang.rst
@@ -46,7 +46,8 @@ The FRR project builds binary ``libyang`` packages, which we offer for download
git clone
cd libyang
mkdir build; cd build
-D CMAKE_BUILD_TYPE:String="Release" ..
sudo make install

0 comments on commit 4524205

Please sign in to comment.
You can’t perform that action at this time.