Skip to content

Commit

Permalink
[lgtm] Fix LGTM build on 202012 branch (#1921)
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik authored Sep 24, 2021
1 parent 5a4678e commit 84f1c63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cfgmgr/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ INCLUDES = -I$(top_srcdir)/lib -I $(top_srcdir) -I $(top_srcdir)/orchagent -I $(
CFLAGS_SAI = -I /usr/include/sai
LIBNL_CFLAGS = -I/usr/include/libnl3
LIBNL_LIBS = -lnl-genl-3 -lnl-route-3 -lnl-3
SAIMETA_LIBS = -lsaimeta -lsaimetadata
SAIMETA_LIBS = -lsaimeta -lsaimetadata -lzmq

bin_PROGRAMS = vlanmgrd teammgrd portmgrd intfmgrd buffermgrd vrfmgrd nbrmgrd vxlanmgrd sflowmgrd natmgrd coppmgrd tunnelmgrd

Expand Down
5 changes: 3 additions & 2 deletions lgtm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ extraction:
- dh-exec
- doxygen
- graphviz
- autoconf-archive
after_prepare:
- git clone https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd
- git clone -b 202012 https://github.com/Azure/sonic-swss-common; pushd sonic-swss-common; ./autogen.sh; fakeroot dpkg-buildpackage -us -uc -b; popd
- dpkg-deb -x libswsscommon_1.0.0_amd64.deb $LGTM_WORKSPACE
- dpkg-deb -x libswsscommon-dev_1.0.0_amd64.deb $LGTM_WORKSPACE
- git clone --recursive https://github.com/Azure/sonic-sairedis; pushd sonic-sairedis; ./autogen.sh; DEB_BUILD_OPTIONS=nocheck SWSS_COMMON_INC="$LGTM_WORKSPACE/usr/include" SWSS_COMMON_LIB="$LGTM_WORKSPACE/usr/lib/x86_64-linux-gnu" fakeroot debian/rules binary-syncd-vs; popd
- git clone -b 202012 --recursive https://github.com/Azure/sonic-sairedis; pushd sonic-sairedis; ./autogen.sh; DEB_BUILD_OPTIONS=nocheck SWSS_COMMON_INC="$LGTM_WORKSPACE/usr/include" SWSS_COMMON_LIB="$LGTM_WORKSPACE/usr/lib/x86_64-linux-gnu" fakeroot debian/rules binary-syncd-vs; popd
- dpkg-deb -x libsairedis_1.0.0_amd64.deb $LGTM_WORKSPACE
- dpkg-deb -x libsairedis-dev_1.0.0_amd64.deb $LGTM_WORKSPACE
- dpkg-deb -x libsaimetadata_1.0.0_amd64.deb $LGTM_WORKSPACE
Expand Down

0 comments on commit 84f1c63

Please sign in to comment.