Skip to content

Add arm64 aspeed build to CI - #623

Open
saiarcot895 wants to merge 3 commits into
sonic-net:masterfrom
saiarcot895:add-aspeed-build
Open

Add arm64 aspeed build to CI#623
saiarcot895 wants to merge 3 commits into
sonic-net:masterfrom
saiarcot895:add-aspeed-build

Conversation

@saiarcot895

Copy link
Copy Markdown
Contributor

Also experiment with building kernel without debug info for faster CI build.

Also experiment with building kernel without debug info for faster CI
build.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
Copilot AI lite review requested due to automatic review settings September 8, 2026 19:30
@saiarcot895
saiarcot895 requested a review from a team as a code owner September 8, 2026 19:30
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The Makefile’s -P...,$(ADDITIONAL_BUILD_PROFILES) usage can produce a trailing comma when empty (risking build failure), and the new aspeed job may fail if its baseline artifact does not exist for the download/diff step.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds a new CI build variant targeting arm64/aspeed and introduces a mechanism to pass extra Debian build profiles to dpkg-buildpackage, with CI configured to experiment with disabling kernel debug info to speed up builds.

Changes:

  • Add ADDITIONAL_BUILD_PROFILES to the top-level Makefile and thread it into dpkg-buildpackage -P ....
  • Add an arm64 + aspeed job to azure-pipelines.yml using the shared build template.
  • Extend .azure-pipelines/build-template.yml to allow aspeed as a platform and set ADDITIONAL_BUILD_PROFILES=pkg.linux.nokerneldbginfo for CI builds.
File summaries
File Description
Makefile Adds support for passing additional dpkg-buildpackage build profiles via ADDITIONAL_BUILD_PROFILES.
azure-pipelines.yml Adds a new CI job for arm64/aspeed builds.
.azure-pipelines/build-template.yml Allows aspeed platform selection and sets an additional build profile for faster CI builds.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread Makefile
Comment thread azure-pipelines.yml
Comment on lines +70 to +74
arch: arm64
platform: aspeed
pool: sonicso1ES-arm64
old_artifact_name: sonic-linux-kernel.aspeed.arm64
artifact_name: sonic-linux-kernel.aspeed.arm64
Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
No pipelines were found matching this branch/path.

@saiarcot895

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
No pipelines were found matching this branch/path.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

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.

3 participants