roc-streaming / roc-toolkit

Real-time audio streaming over the network.
https://roc-streaming.org
Mozilla Public License 2.0
1.02k stars 203 forks source link

Support using ccache when building OpenSSL #638

Open gavv opened 7 months ago

gavv commented 7 months ago

User can enable ccache using --compiler-launcher=ccache scons option.

When user specifies --build-3rdparty=<dependencies>, and ccache is enabled, we automatically use ccache for almost all dependencies, but we have to disable it for OpenSSL. It is done in build-3rdparty.py via disable_launcher=True.

OpenSSL, for some reason, can't handle CC values like CC="ccache gcc" (it tries to find executable ccache gcc and fails).

It would be nice to understand how to build OpenSSL with ccache and fix build-3rdparty.py accordingly.