Skip to content

Commit 512b4cc

Browse files
committed
[sonic-swss-common]: Submodule update
Bring in the following commit: 405f1df Use build profiles instead of distro version for Python 2 binding build (sonic-net#558) This change requires a corresponding change in this repo to set a build profile to not build the python 2 bindings on Bullseye. Signed-off-by: Saikrishna Arcot <[email protected]>
1 parent 858f430 commit 512b4cc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

rules/swss-common.mk

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ $(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(LIBSWSSCOMMON_DEV)))
2020
ifeq ($(ENABLE_PY2_MODULES), y)
2121
PYTHON_SWSSCOMMON = python-swsscommon_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb
2222
$(eval $(call add_derived_package,$(LIBSWSSCOMMON),$(PYTHON_SWSSCOMMON)))
23+
else
24+
$(LIBSWSSCOMMON)_BUILD_ENV += DEB_BUILD_PROFILES=nopython2
2325
endif
2426

2527
PYTHON3_SWSSCOMMON = python3-swsscommon_$(LIBSWSSCOMMON_VERSION)_$(CONFIGURED_ARCH).deb

src/sonic-swss-common

0 commit comments

Comments
 (0)