Skip to content

Add support for deb build profiles env variable#15858

Merged
yxieca merged 1 commit intosonic-net:masterfrom
saiarcot895:build-profiles-variable
Jul 20, 2023
Merged

Add support for deb build profiles env variable#15858
yxieca merged 1 commit intosonic-net:masterfrom
saiarcot895:build-profiles-variable

Conversation

@saiarcot895
Copy link
Copy Markdown
Contributor

Why I did it

Add support for a separate DEB_BUILD_PROFILES environment variable, to be able to set build profiles. This may be used to specify whether python 2 bindings/libraries should be built, or what configuration options should be specified for a package.

This also makes it easier to append/remove build profiles from our rules files, which will be needed for the sairedis build.

Work item tracking
  • Microsoft ADO (number only): 24405994

How I did it

How to verify it

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

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

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)

Add support for a separate DEB_BUILD_PROFILES environment variable, to
be able to set build profiles. This may be used to specify whether
python 2 bindings/libraries should be built, or what configuration
options should be specified for a package.

This also makes it easier to append/remove build profiles from our rules
files, which will be needed for the sairedis build.

Signed-off-by: Saikrishna Arcot <[email protected]>
@saiarcot895
Copy link
Copy Markdown
Contributor Author

Hi @liushilongbuaa, @xumia, could you review this when you get a chance?

@yxieca yxieca merged commit 371c3a0 into sonic-net:master Jul 20, 2023
@saiarcot895 saiarcot895 deleted the build-profiles-variable branch July 21, 2023 05:28
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
Add support for a separate DEB_BUILD_PROFILES environment variable, to
be able to set build profiles. This may be used to specify whether
python 2 bindings/libraries should be built, or what configuration
options should be specified for a package.

This also makes it easier to append/remove build profiles from our rules
files, which will be needed for the sairedis build.

Signed-off-by: Saikrishna Arcot <[email protected]>
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.

2 participants