Skip to content

Build improvements#80

Merged
lguohan merged 51 commits intosonic-net:masterfrom
marian-pritsak:master
Dec 5, 2016
Merged

Build improvements#80
lguohan merged 51 commits intosonic-net:masterfrom
marian-pritsak:master

Conversation

@marian-pritsak
Copy link
Copy Markdown
Collaborator

Fix dependencies
Add configuration options
Automatically build sonic-slave

pushd redis-3.0.7; fakeroot debian/rules binary; popd
mv $(DERIVED_TARGETS) $* $(DEST)/

$(addprefix $(DEST)/, $(DERIVED_TARGETS)): $(DEST)/% : $(DEST)/$(MAIN_TARGET)
Copy link
Copy Markdown
Collaborator

@lguohan lguohan Nov 28, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we update this to the latest version? we are using 3.2.4 now. #Resolved

rules/redis.mk Outdated
REDIS_SERVER = redis-server_3.0.7-2_amd64.deb
$(eval $(call add_derived_package,$(REDIS_TOOLS),$(REDIS_SERVER)))

REDIS_SENTINEL = redis-sentinel_3.0.7-2_amd64.deb
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version ->3.2.4-1~bpo8+1

pushd p4-switch; ./build.sh; popd

lldpd_0.9.5-0_amd64.deb liblldpctl-dev_0.9.5-0_amd64.deb:
$(call build_project, lldpd)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new stuffs, need to keep.


## Function: build_project_py2, directory
## Build the project and save the .deb target in the same directory
define build_project_py2
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new stuffs, need to keep.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done


## Function: install_py3, whlfile
install_py3 = \
sudo pip3 install $(1)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new stuffs, need to keep.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@svc-acs
Copy link
Copy Markdown
Collaborator

svc-acs commented Nov 28, 2016

@qiluo-msft, can you comment on the new stuffs we added to the build system and need to keep?

lguohan pushed a commit that referenced this pull request Jun 7, 2022
[sonic-linkmgrd][master] Submodule Update

9c8a16e Jing Zhang Sun Jun 5 08:27:07 2022 -0700 Separate I2C mux state probing and gRPC forwarding state probing (#86)
491c4ee Longxiang Lyu Sun Jun 5 23:26:19 2022 +0800 Fix peer mux wait back off factor (#84)
a0b6b14 Jing Zhang Wed Jun 1 10:33:12 2022 -0700 Revert "Update log level for mux probing and mux state chance (#23)" (#85)
3c2b546 Jing Zhang Tue May 31 10:14:42 2022 -0700 Add default route support to active-active state machine (#78)
6fa892e Longxiang Lyu Fri May 27 09:15:06 2022 +0800 Degrade LinkProberStateMachineBase virtual function logging level (#80)
7b695ca Longxiang Lyu Fri May 27 09:14:02 2022 +0800 Fix mux wait timer and peer mux wait timer (#81)
vivekrnv referenced this pull request in vivekrnv/sonic-buildimage Apr 28, 2023
Gokulnath-Raja pushed a commit to Gokulnath-Raja/sonic-buildimage-work that referenced this pull request May 29, 2023
* Transformer infra initialization, application(common_app) enhancements for following:
*Transformer infra memory and startup time optimizations
*Support for gNMI style PUT/REPLACE on leaf-list.
*Sort DB keys for tables having mutli-element key with optional elements(sonic-yang container representing the table has multiple lists) before DB operation.
*Modifications to improve debuggability/logging.

* Transformer infra SET(CREATE/REPLACE/UPDATE) and GET code flow modifications to incorporate following:
*Support gNMI style PUT/REPLACE on leaf-list in SET flow
*Conditionally invoke subtree only once to improve SET request performance
*Support for key-transformer on sonic-yang GET request.
*Improve debuggability/logging.

* Transformer infra utility enhacements for CRUD and SET
  *Add utility functions in transformer infra for CRUD AND GET cases to retrieve yang node info
  *Key-transformer support on Sonic-Yang list for GET flow
  *Call back error message packaging
  *Changes to Improve debuggability and logging

* Transformer infra enhacements for DELETE flow
  *Json based table sorting for non CVL table ordering
  *Changes to Improve debuggability and logging.

* REPLACE case bug-fix to use copy of original instance fields in common_app to handle leaf-list target PUT/REPLACE to swap contents of leaf-list.

* Add copyright info

* Use the new ocbinds.GetSchema() API from master

* Addressed review comments

---------

Co-authored-by: ranjinidn <ranjini.nagaraj@dell.com>
Co-authored-by: ranjinidn <ranjini_nagaraj@dell.com>
Co-authored-by: ranjinidn <51423501+ranjinidn@users.noreply.github.com>
yxieca pushed a commit that referenced this pull request Jun 22, 2023
…atically (#15544)

src/sonic-telemetry

*   0b8843c - (HEAD -> 202205, origin/202205) Merge pull request #120 from zbud-msft/202205_divide_by_zero (3 hours ago) [Ying Xie]
| *   015defa - Merge branch '202205' into 202205_divide_by_zero (5 hours ago) [Zain Budhwani]
* | de2124b - Change log level (5 hours ago) [zbud-msft]
* | f203be5 - Add logs for md5 checksum (#80) (5 hours ago) [Zain Budhwani]
| *   ea6c84b - Merge branch '202205' into 202205_divide_by_zero (31 hours ago) [Zain Budhwani]
* | ab98380 - Fix sonic-mgmt-common version to ec32690 in pipeline (#123) (34 hours ago) [Sachin Holla]
* 5fcecef - Merge branch '202205' into 202205_divide_by_zero (4 days ago) [Ying Xie]
* 09c8bfc - Merge branch '202205' into 202205_divide_by_zero (11 days ago) [Zain Budhwani]
* 21b9bc8 - Fix crash when retrieving cpu utilization (#70) (#71) (11 days ago) [Zain Budhwani]
mssonicbld added a commit that referenced this pull request Feb 26, 2024
…e latest HEAD automatically (#18168)

#### Why I did it
src/wpasupplicant/sonic-wpa-supplicant
```
* d41110905 - (HEAD -> master, origin/master, origin/HEAD) Merge pull request #80 from wumiaont/master (4 days ago) [Kamil Cudnik]
* 7406f4ba4 - Fix compile issues with debian bookworm (10 days ago) [wumiaont]
* caed4ef71 - Fix compile issues with bookworm and openssl 3.0 (10 days ago) [wumiaont]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld added a commit that referenced this pull request May 13, 2024
…utomatically (#18900)

#### Why I did it
src/sonic-host-services
```
* aa84129 - (HEAD -> master, origin/master, origin/HEAD) Updated tacacs test (#123) (17 hours ago) [ycoheNvidia]
* 9e6404c - Add LDAP feature support (#80) (6 days ago) [davidpil2002]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mlok-nokia pushed a commit to mlok-nokia/sonic-buildimage that referenced this pull request Jun 5, 2024
…c-utilities

[submodule][202205] Update submodule sonic-utilities to the latest HEAD automatically
DavidZagury referenced this pull request in DavidZagury/sonic-buildimage Apr 28, 2025
…est HEAD automatically (sonic-net#1044)

#### Why I did it
src/sonic-platform-common
```
* add9e9d - (HEAD -> 202412, origin/202412) Merge pull request #80 from mssonicbld/cherry/msft-202412/561 (23 minutes ago) [Riff]
* 9f71474 - Update Amphenol package for mock test (43 minutes ago) [Sonic Build Admin]
```
#### How I did it
#### How to verify it
#### Description for the changelog
jianyuewu pushed a commit to jianyuewu/sonic-buildimage that referenced this pull request May 7, 2025
<!-- Provide a general summary of your changes in the Title above -->

#### Description
<!--
     Describe your changes in detail
-->
Add missing Amphenol package to support changes merged via sonic-net/sonic-platform-common#555

#### Motivation and Context
<!--
     Why is this change required? What problem does it solve?
     If this pull request closes/resolves an open Issue, make sure you
     include the text "fixes #xxxx", "closes #xxxx" or "resolves #xxxx" here
-->
The current changeset is to fix the below traceback seen while building SONiC image

```
<frozen importlib._bootstrap>:690: in _load_unlocked
    ???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:168: in exec_module
    exec(co, module.__dict__)
tests/test_PsuChassisInfo.py:14: in <module>
    from .mock_platform import MockChassis, MockPsu, MockFanDrawer, MockModule
tests/mock_platform.py:1: in <module>
    from sonic_platform_base import chassis_base
/usr/local/lib/python3.11/dist-packages/sonic_platform_base/__init__.py:1: in <module>
    from . import chassis_base
/usr/local/lib/python3.11/dist-packages/sonic_platform_base/chassis_base.py:10: in <module>
    from . import sfp_base
/usr/local/lib/python3.11/dist-packages/sonic_platform_base/sfp_base.py:11: in <module>
    from .sonic_xcvr.xcvr_api_factory import XcvrApiFactory
/usr/local/lib/python3.11/dist-packages/sonic_platform_base/sonic_xcvr/xcvr_api_factory.py:22: in <module>
    from .api.amphenol.backplane import AmphBackplaneImpl
E   ModuleNotFoundError: No module named 'sonic_platform_base.sonic_xcvr.api.amphenol'

```

#### How Has This Been Tested?
<!--
     Please describe in detail how you tested your changes.
     Include details of your testing environment, and the tests you ran to
     see how your change affects other areas of the code, etc.
-->
Confirmed image build is successful and loaded image on DUT to confirm the fix to ensure that xcvrd is running without crashing.

#### Additional Information (Optional)
MSFT ADO - 32488018
mssonicbld added a commit that referenced this pull request Jun 30, 2025
…ically (#23143)

#### Why I did it
src/sonic-dash-ha
```
* c067618 - (HEAD -> master, origin/master, origin/HEAD) Fix CI issues after upgrading to rustc 1.88.0 (#80) (10 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
patrickmacarthur pushed a commit to patrickmacarthur/sonic-buildimage that referenced this pull request Aug 6, 2025
…tomatically (sonic-net#1132)

#### Why I did it
src/sonic-swss
```
* bc66bb7 - (HEAD -> 202405, origin/202405) Merge pull request sonic-net#80 from mssonicbld/sonicbld/202405-merge (21 hours ago) [mssonicbld]
* e1d9553 - Merge branch '202405' of https://github.com/sonic-net/sonic-swss into 202405 (23 hours ago) [Sonic Automation]
* 4352902 - [202405] Setting default nexthop weight to 1 in `fpmsyncd` (sonic-net#3648) (30 hours ago) [mramezani95]
```
#### How I did it
#### How to verify it
#### Description for the changelog
vmittal-msft pushed a commit to vmittal-msft/sonic-buildimage that referenced this pull request Oct 20, 2025
…D automatically (sonic-net#1501)

#### Why I did it
src/sonic-sairedis
```
* 0ce6b355 - (HEAD -> 202503, origin/202503) Merge pull request sonic-net#80 from mssonicbld/sonicbld/202503-merge (2 hours ago) [mssonicbld]
* dd0ac72c - Merge branch '202412' of https://github.com/Azure/sonic-sairedis.msft into 202503 (2 hours ago) [Sonic Automation]
* a8337841 - (origin/HEAD, origin/202412, 202412) [fix]: Fix test for queryStatsStCapability (sonic-net#79) (25 hours ago) [Ze Gan]
```
#### How I did it
#### How to verify it
#### Description for the changelog
yanmarkman added a commit to yanmarkman/sonic-buildimage that referenced this pull request Nov 28, 2025
marvell-prestera/sonic-platform-marvell:
Avoid systemd-sonic-generator.py "Fail to open platform.json"

Signed-off-by: Yan Markman <ymarkman@marvell.com>
mssonicbld added a commit that referenced this pull request Dec 3, 2025
…ly (#24654)

#### Why I did it
src/sonic-stp
```
* 6be3721 - (HEAD -> master, origin/master, origin/HEAD) Correcting stp-stpmgrd IPC data structure similar to structure defined in stpmgr.h file (#80) (4 days ago) [Divya Kumaran Chandralekha]
* e80c7be - [stpctl] stpctl enhancements for mstp debugging commands (#79) (5 days ago) [vganesan-nokia]
* bfcb492 - [mstp] Fix for port enable handlinging and rx pkt type check (#78) (5 days ago) [vganesan-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
hdwhdw pushed a commit to hdwhdw/sonic-buildimage that referenced this pull request Dec 4, 2025
…ly (sonic-net#24654)

#### Why I did it
src/sonic-stp
```
* 6be3721 - (HEAD -> master, origin/master, origin/HEAD) Correcting stp-stpmgrd IPC data structure similar to structure defined in stpmgr.h file (sonic-net#80) (4 days ago) [Divya Kumaran Chandralekha]
* e80c7be - [stpctl] stpctl enhancements for mstp debugging commands (sonic-net#79) (5 days ago) [vganesan-nokia]
* bfcb492 - [mstp] Fix for port enable handlinging and rx pkt type check (sonic-net#78) (5 days ago) [vganesan-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog
xwjiang-ms pushed a commit to xwjiang-ms/sonic-buildimage that referenced this pull request Dec 22, 2025
…ly (sonic-net#24654)

#### Why I did it
src/sonic-stp
```
* 6be3721 - (HEAD -> master, origin/master, origin/HEAD) Correcting stp-stpmgrd IPC data structure similar to structure defined in stpmgr.h file (sonic-net#80) (4 days ago) [Divya Kumaran Chandralekha]
* e80c7be - [stpctl] stpctl enhancements for mstp debugging commands (sonic-net#79) (5 days ago) [vganesan-nokia]
* bfcb492 - [mstp] Fix for port enable handlinging and rx pkt type check (sonic-net#78) (5 days ago) [vganesan-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: xiaweijiang <xiaweijiang@microsoft.com>
jianyuewu pushed a commit to jianyuewu/sonic-buildimage that referenced this pull request Feb 10, 2026
Added LDAP support to hostcfgd
FengPan-Frank pushed a commit to FengPan-Frank/sonic-buildimage that referenced this pull request Mar 6, 2026
…ly (sonic-net#24654)

#### Why I did it
src/sonic-stp
```
* 6be3721 - (HEAD -> master, origin/master, origin/HEAD) Correcting stp-stpmgrd IPC data structure similar to structure defined in stpmgr.h file (sonic-net#80) (4 days ago) [Divya Kumaran Chandralekha]
* e80c7be - [stpctl] stpctl enhancements for mstp debugging commands (sonic-net#79) (5 days ago) [vganesan-nokia]
* bfcb492 - [mstp] Fix for port enable handlinging and rx pkt type check (sonic-net#78) (5 days ago) [vganesan-nokia]
```
#### How I did it
#### How to verify it
#### Description for the changelog

Signed-off-by: Feng Pan <fenpan@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants