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 gengetopt and ragel #732

Closed jeshwanthreddy13 closed 1 week ago

jeshwanthreddy13 commented 1 week ago

Fixes #639

Additional Notes:

gavv commented 1 week ago

Hi!

Please take a look at the part of task about cross-compilation. We can't just use CC and CXX because they're set to cross-compiler, not native compiler.

jeshwanthreddy13 commented 1 week ago

Hi!

Please take a look at the part of task about cross-compilation. We can't just use CC and CXX because they're set to cross-compiler, not native compiler.

Okay, so we need to make sure that CC and CXX are always passed with native compilers instead of the cross compilers for ragel and gengetopt?

gavv commented 1 week ago

Yes, because they are build tools running during build.

gavv commented 1 week ago

Thanks!!

Small follow-up commit: bf5e3656925678e0d0872c50224ac7bb4cf40d1e

(see commit message for details)