Skip to content

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

Merged
yxieca merged 1 commit intosonic-net:202205from
saiarcot895:202205-non-recursive-automake
Apr 6, 2023
Merged

[202205] Non recursive automake and Debian packaging changes (#700)#772
yxieca merged 1 commit intosonic-net:202205from
saiarcot895:202205-non-recursive-automake

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>
@saiarcot895 saiarcot895 requested review from qiluo-msft and yxieca April 6, 2023 06:22
@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