Skip to content

[Nexthop] Add build forwarding and platform stack support#839

Closed
raghav-nexthop wants to merge 4 commits intofacebook:mainfrom
nexthop-ai:raghav.build-stack-part10
Closed

[Nexthop] Add build forwarding and platform stack support#839
raghav-nexthop wants to merge 4 commits intofacebook:mainfrom
nexthop-ai:raghav.build-stack-part10

Conversation

@raghav-nexthop
Copy link
Contributor

Pre-submission checklist

  • I've ran the linters locally and fixed lint errors related to the files I modified in this PR. You can install the linters by running pip install -r requirements-dev.txt && pre-commit install
  • pre-commit run

Summary

Add scripts and build configuration for building FBOSS forwarding and platform stacks:

  • CMakeLists.txt: Defines build targets for forwarding stack
  • package.py: Script for packaging forwarding and platform stacks
  • build_fboss_stack.sh: Script for building forwarding and platform stacks

Test Plan

@meta-cla meta-cla bot added the CLA Signed label Jan 26, 2026
@raghav-nexthop raghav-nexthop force-pushed the raghav.build-stack-part10 branch 8 times, most recently from 1530a05 to 21ceec7 Compare January 29, 2026 23:29
@raghav-nexthop raghav-nexthop force-pushed the raghav.build-stack-part10 branch from 21ceec7 to 107b93c Compare February 3, 2026 02:05
@raghav-nexthop raghav-nexthop force-pushed the raghav.build-stack-part10 branch from 107b93c to 94e29db Compare February 5, 2026 01:32
@kevin645
Copy link

kevin645 commented Feb 5, 2026

can we rebase

@raghav-nexthop raghav-nexthop force-pushed the raghav.build-stack-part10 branch 8 times, most recently from 325fd49 to 65d4f60 Compare February 10, 2026 02:39
Add abstract build component framework for managing build operations.

- Implement AbstractComponent base class for build components
- Add component lifecycle management (prepare, build, extract)
- Integrate with artifact store, download, and execute modules
- Enable extensible component-based build architecture

Tests utilizing the above infrastructure will be added when component build supports are included.
Add build entrypoint orchestration for component-based builds.

- Implement build entrypoint for coordinating component build workflows
- Add support for build configuration and execution management
- Include comprehensive unit tests for entrypoint functionality
Add ImageBuilder class for orchestrating component builds and image assembly.

- ImageBuilder: Main orchestration class for building FBOSS images
- Compression support for build artifacts (zstd)
- Component build coordination
- Test coverage for compression functionality
- Updated build_test.py to use ImageBuilder
Add scripts and build configuration for building FBOSS forwarding and platform stacks.

- CMakeLists.txt:  Defines build targets for forwarding stack
- package.py:   Script for packaging forwarding and platform stacks
- build_fboss_stack.sh:   Script for building forwarding and platform stacks
@raghav-nexthop raghav-nexthop force-pushed the raghav.build-stack-part10 branch from 65d4f60 to f9b63f8 Compare February 10, 2026 02:46
@meta-codesync
Copy link

meta-codesync bot commented Feb 12, 2026

@kevin645 has imported this pull request. If you are a Meta employee, you can view this in D93032966.

@meta-codesync
Copy link

meta-codesync bot commented Feb 12, 2026

@kevin645 merged this pull request in cef6d41.

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.

4 participants

Comments