-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add pmon daemons python3 build support #6176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jleveque
merged 6 commits into
sonic-net:master
from
Junchao-Mellanox:pmon-py3-build-support
Dec 28, 2020
+272
−179
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
13b5c5d
Add pmon daemons python3 build support
Junchao-Mellanox 7cd98dc
Change python3_daemons to python2_daemons
Junchao-Mellanox 5e4aaac
Fix review comment
Junchao-Mellanox 0526d17
Merge branch 'master' into pmon-py3-build-support
Junchao-Mellanox 8e3bcb0
Merge branch 'master' into pmon-py3-build-support
Junchao-Mellanox 1d18f46
Merge branch 'master' into pmon-py3-build-support
Junchao-Mellanox File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,16 @@ | ||
| SPATH := $($(SONIC_LEDD)_SRC_PATH) | ||
| SPATH := $($(SONIC_LEDD_PY2)_SRC_PATH) | ||
| DEP_FILES := $(SONIC_COMMON_FILES_LIST) rules/sonic-ledd.mk rules/sonic-ledd.dep | ||
| DEP_FILES += $(SONIC_COMMON_BASE_FILES_LIST) | ||
| SMDEP_FILES := $(addprefix $(SPATH)/,$(shell cd $(SPATH) && git ls-files)) | ||
|
|
||
| $(SONIC_LEDD)_CACHE_MODE := GIT_CONTENT_SHA | ||
| $(SONIC_LEDD)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) | ||
| $(SONIC_LEDD)_DEP_FILES := $(DEP_FILES) | ||
| $(SONIC_LEDD)_SMDEP_FILES := $(SMDEP_FILES) | ||
| $(SONIC_LEDD)_SMDEP_PATHS := $(SPATH) | ||
| $(SONIC_LEDD_PY2)_CACHE_MODE := GIT_CONTENT_SHA | ||
| $(SONIC_LEDD_PY2)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) | ||
| $(SONIC_LEDD_PY2)_DEP_FILES := $(DEP_FILES) | ||
| $(SONIC_LEDD_PY2)_SMDEP_FILES := $(SMDEP_FILES) | ||
| $(SONIC_LEDD_PY2)_SMDEP_PATHS := $(SPATH) | ||
|
|
||
| $(SONIC_LEDD_PY3)_CACHE_MODE := GIT_CONTENT_SHA | ||
| $(SONIC_LEDD_PY3)_DEP_FLAGS := $(SONIC_COMMON_FLAGS_LIST) | ||
| $(SONIC_LEDD_PY3)_DEP_FILES := $(DEP_FILES) | ||
| $(SONIC_LEDD_PY3)_SMDEP_FILES := $(SMDEP_FILES) | ||
| $(SONIC_LEDD_PY3)_SMDEP_PATHS := $(SPATH) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,19 @@ | ||
| # sonic-ledd (SONiC Front-panel LED control daemon) Debian package | ||
|
|
||
| SONIC_LEDD = sonic_ledd-1.1-py2-none-any.whl | ||
| $(SONIC_LEDD)_SRC_PATH = $(SRC_PATH)/sonic-platform-daemons/sonic-ledd | ||
| $(SONIC_LEDD)_DEPENDS = $(SONIC_PY_COMMON_PY2) | ||
| $(SONIC_LEDD)_DEBS_DEPENDS = $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) $(PYTHON3_SWSSCOMMON) | ||
| $(SONIC_LEDD)_PYTHON_VERSION = 2 | ||
| SONIC_PYTHON_WHEELS += $(SONIC_LEDD) | ||
| # SONIC_LEDD_PY2 package | ||
|
|
||
| SONIC_LEDD_PY2 = sonic_ledd-1.1-py2-none-any.whl | ||
| $(SONIC_LEDD_PY2)_SRC_PATH = $(SRC_PATH)/sonic-platform-daemons/sonic-ledd | ||
| $(SONIC_LEDD_PY2)_DEPENDS = $(SONIC_PY_COMMON_PY2) | ||
| $(SONIC_LEDD_PY2)_DEBS_DEPENDS = $(LIBSWSSCOMMON) $(PYTHON_SWSSCOMMON) | ||
| $(SONIC_LEDD_PY2)_PYTHON_VERSION = 2 | ||
| SONIC_PYTHON_WHEELS += $(SONIC_LEDD_PY2) | ||
|
|
||
| # SONIC_LEDD_PY3 package | ||
|
|
||
| SONIC_LEDD_PY3 = sonic_ledd-1.1-py3-none-any.whl | ||
| $(SONIC_LEDD_PY3)_SRC_PATH = $(SRC_PATH)/sonic-platform-daemons/sonic-ledd | ||
| $(SONIC_LEDD_PY3)_DEPENDS = $(SONIC_PY_COMMON_PY3) $(SONIC_LEDD_PY2) | ||
| $(SONIC_LEDD_PY3)_DEBS_DEPENDS = $(LIBSWSSCOMMON) $(PYTHON3_SWSSCOMMON) | ||
| $(SONIC_LEDD_PY3)_PYTHON_VERSION = 3 | ||
| SONIC_PYTHON_WHEELS += $(SONIC_LEDD_PY3) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.