Skip to content

[Marvell-teralynx] [Wistron] Fix parallel build issue#26142

Merged
rlhui merged 1 commit intosonic-net:masterfrom
pavannaregundi:wistron_parallel_build
Mar 16, 2026
Merged

[Marvell-teralynx] [Wistron] Fix parallel build issue#26142
rlhui merged 1 commit intosonic-net:masterfrom
pavannaregundi:wistron_parallel_build

Conversation

@pavannaregundi
Copy link
Contributor

Why I did it

This PR adds a patch to fix a parallel build issue for Wistron platform modules in the Marvell Teralynx SONiC build system. The root cause was that both WISTRON_SW_TO3200K_PLATFORM_MODULE and WISTRON_6512_32R_PLATFORM_MODULE shared the same source path but were being built independently, leading to race conditions during parallel builds.

Work item tracking
  • Microsoft ADO (number only):

How I did it

Fix makes WISTRON_6512_32R_PLATFORM_MODULE a derived package of WISTRON_SW_TO3200K_PLATFORM_MODULE using add_derived_package, ensuring proper build ordering.

How to verify it

Build sonic-marvell-teralynx.bin with SONIC_BUILD_JOBS=4.

Which release branch to backport (provide reason below if selected)

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
@pavannaregundi pavannaregundi requested a review from lguohan as a code owner March 12, 2026 04:31
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pavannaregundi pavannaregundi changed the title [marvell-teralynx] [Wistron] Fix parallel build issue [Marvell-teralynx] [Wistron] Fix parallel build issue Mar 12, 2026
@StormLiangMS
Copy link
Contributor

/azpw ms_conflict

1 similar comment
@yxieca
Copy link
Contributor

yxieca commented Mar 12, 2026

/azpw ms_conflict

@pavannaregundi
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rlhui rlhui merged commit bf53015 into sonic-net:master Mar 16, 2026
20 checks passed
yue-fred-gao pushed a commit to yue-fred-gao/sonic-buildimage that referenced this pull request Mar 16, 2026
Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202511: #26232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants