[202205] Non recursive automake and Debian packaging changes (#700)#772
Merged
yxieca merged 1 commit intosonic-net:202205from Apr 6, 2023
Merged
Conversation
…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
approved these changes
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>
8 tasks
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #700
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 to using debhelper compat 12, remove some overrides that are no longer needed, use automatically-generated dbgsym packages, and disable the static build.
Make sure hardened build flags are always used.