Skip to content

Commit

Permalink
[sonic-sairedis] don't try to build python-pysairedis (python2) on bu…
Browse files Browse the repository at this point in the history
…llseye (#10950)

To not try to build python2 bindings for sairedis for bullseye. The same solution was done for swss-common package.
Releated changes sonic-net/sonic-sairedis#1050

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
  • Loading branch information
stepanblyschak authored Jun 4, 2022
1 parent 80fb2e2 commit 302d3c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rules/sairedis.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ $(LIBSAIMETADATA_DBG)_DEPENDS += $(LIBSAIMETADATA)
$(LIBSAIMETADATA_DBG)_RDEPENDS += $(LIBSAIMETADATA)
$(eval $(call add_derived_package,$(LIBSAIREDIS),$(LIBSAIMETADATA_DBG)))

ifeq ($(ENABLE_PY2_MODULES), n)
$(LIBSWSSCOMMON)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
endif

# The .c, .cpp, .h & .hpp files under src/{$DBG_SRC_ARCHIVE list}
# are archived into debug one image to facilitate debugging.
#
Expand Down

0 comments on commit 302d3c8

Please sign in to comment.