Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: Optimization #6864

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Makefile: Optimization #6864

wants to merge 1 commit into from

Conversation

donNewtonAlpha
Copy link
Contributor

  • Fix if/else/endif logic
  • To only target a single build environment

Signed-off-by: Don Newton don@opennetworking.org

Why I did it

To speed up new build environment setup / save disk space
To speed up builds

Currently if NOJESSIE and NOSTRETCH are unset make configure will build 3 separate build images

How I did it

Arranged if, else and endif statement such that only one will be entered per invocation

How to verify it

On a clean environment with NOJESSIE and NOSTRETCH unset execute
make configure PLATFORM=$platform_of_choice - only the jessie build environment will be created

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

  • 201811
  • 201911
  • 202006
  • 202012
    ONF is currently using the 202012 branch as our base for our p4 project

Description for the changelog

Only build / use one of jessie, stretch or buster

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

* Fix if/else/endif logic
* To only target a single build environment

Signed-off-by: Don Newton don@opennetworking.org
@donNewtonAlpha
Copy link
Contributor Author

/azpw run

@mssonicbld
Copy link
Collaborator

/AzurePipelines run

@azure-pipelines
Copy link

Pull request contains merge conflicts.

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