summaryrefslogtreecommitdiffstats
path: root/doc/developer
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2019-05-15 23:31:31 +0200
committerLou Berger <lberger@labn.net>2019-05-15 23:31:31 +0200
commita191719ee22e2e24a96ac646576c2be2219bce8f (patch)
treef7b609df719bd69a922ab26a69d380bc8bdeaf2d /doc/developer
parentbgp_l3vpn_to_bgp_vrf: test adding/removing 50K*2CEs VRF routes (diff)
downloadfrr-a191719ee22e2e24a96ac646576c2be2219bce8f.tar.xz
frr-a191719ee22e2e24a96ac646576c2be2219bce8f.zip
doc/developer: topotest now compile should now enable sharpd, alos care most about master
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'doc/developer')
-rw-r--r--doc/developer/topotests.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer/topotests.rst b/doc/developer/topotests.rst
index 605b9c9a0..49f098afa 100644
--- a/doc/developer/topotests.rst
+++ b/doc/developer/topotests.rst
@@ -180,13 +180,12 @@ If found, then this is added with context (calling test) to
Compiling for GCC AddressSanitizer requires to use ``gcc`` as a linker as well
(instead of ``ld``). Here is a suggest way to compile frr with AddressSanitizer
-for ``stable/3.0`` branch:
+for ``master`` branch:
.. code:: shell
git clone https://github.com/FRRouting/frr.git
cd frr
- git checkout stable/3.0
./bootstrap.sh
export CC=gcc
export CFLAGS="-O1 -g -fsanitize=address -fno-omit-frame-pointer"
@@ -199,7 +198,8 @@ for ``stable/3.0`` branch:
--enable-exampledir=/usr/lib/frr/examples \
--with-moduledir=/usr/lib/frr/modules \
--enable-multipath=0 --enable-rtadv \
- --enable-tcp-zebra --enable-fpm --enable-pimd
+ --enable-tcp-zebra --enable-fpm --enable-pimd \
+ --enable-sharpd
make
sudo make install
# Create symlink for vtysh, so topotest finds it in /usr/lib/frr