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

[202205] Non recursive automake and Debian packaging changes (#700) #772

Merged
merged 1 commit into from
Apr 6, 2023

Conversation

saiarcot895
Copy link
Contributor

Cherry-pick of #700

  • Switch to using non-recursive automake

This can help increase build parallelization. On my dev VM, this decreased the compilation time from 2:55 to about 2:28 (Bullseye, Python 2 disabled, -j12). Time improvements may be more noticeable on systems with more CPU cores.

  • Update debian packaging

Update to using debhelper compat 12, remove some overrides that are no longer needed, use automatically-generated dbgsym packages, and disable the static build.

  • Always enable all hardening

Make sure hardened build flags are always used.

  • Re-add libboost1.71-dev as a dependency, since the Buster slave containers have that installed instead of just libboost-dev

…et#700)

* Switch to using non-recursive automake

This can help increase build parallelization. On my dev VM, this
decreased the compilation time from 2:55 to about 2:28 (Bullseye, Python
2 disabled, -j12). Time improvements may be more noticeable on systems
with more CPU cores.

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

* Update debian packaging

Update to using debhelper compat 12, remove some overrides that are no
longer needed, use automatically-generated dbgsym packages, and disable
the static build.

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

* Always enable all hardening

Make sure hardened build flags are always used.

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

* Re-add libboost1.71-dev as a dependency, since the Buster slave containers have that installed instead of just libboost-dev

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

---------

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@yxieca yxieca merged commit 55fd28a into sonic-net:202205 Apr 6, 2023
saiarcot895 added a commit to saiarcot895/sonic-buildimage that referenced this pull request Apr 6, 2023
Update sonic-swss-common submodule pointer to include the following:

* 55fd28a [202205] Non recursive automake and Debian packaging changes (sonic-net/sonic-swss-common#772)

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@saiarcot895 saiarcot895 deleted the 202205-non-recursive-automake branch April 6, 2023 23:17
qiluo-msft pushed a commit to sonic-net/sonic-buildimage that referenced this pull request Apr 11, 2023
#### Why I did it

Update sonic-swss-common submodule pointer to include the following:

* 55fd28a [202205] Non recursive automake and Debian packaging changes (sonic-net/sonic-swss-common#772)
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