summaryrefslogtreecommitdiff
path: root/doc/developer/building-libyang.rst
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2020-05-09 14:24:20 -0300
committerRenato Westphal <renato@opensourcerouting.org>2020-08-07 14:07:46 -0300
commit240b7826f6bc4dbcf9de7bbe94f08b9ce9ddffc5 (patch)
treecfc722648fa3ec7177da1149cd94d81e58b5c59a /doc/developer/building-libyang.rst
parentcd211e2049e672d96dd1c549fcd259f68e0d57ea (diff)
build, yang: bump libyang minimum required version to 1.0.184
It's time to say good bye to libyang 0.16.105. The recently released libyang 1.0.184 includes numerous bug fixes and performance improvements that we need. Despite the major version bump from 0.x to 1.x, the libyang API is the same except for a single backward-incompatible change in the user types interface (which we're currently not using). Hence no code changes were necessary to adapt FRR to libyang 1.x. This commit also reintroduces some leafrefs that needed to be removed from our YANG modules due to a bug that was present on libyang 0.16.105. Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'doc/developer/building-libyang.rst')
-rw-r--r--doc/developer/building-libyang.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/developer/building-libyang.rst b/doc/developer/building-libyang.rst
index f50b8cf72d..5bd11cd105 100644
--- a/doc/developer/building-libyang.rst
+++ b/doc/developer/building-libyang.rst
@@ -10,7 +10,7 @@ The FRR project builds binary ``libyang`` packages, which we offer for download
.. warning::
- ``libyang`` version 0.16.105 or newer is required to build FRR.
+ ``libyang`` version 1.0.184 or newer is required to build FRR.
.. note::
@@ -51,7 +51,3 @@ The FRR project builds binary ``libyang`` packages, which we offer for download
make
sudo make install
-When building ``libyang`` version ``0.16.x`` it's also necessary to pass the
-``-DENABLE_CACHE=OFF`` parameter to ``cmake`` to work around a
-`known bug <https://github.com/CESNET/libyang/issues/752>`_ in libyang.
-