uptane / aktualizr

C++ Uptane Client
Mozilla Public License 2.0
16 stars 16 forks source link

Speed up compiles with Include What You Use #70

Closed cajun-rat closed 2 years ago

cajun-rat commented 2 years ago

Reducing what is included in headers is one way to speed up compiles. I see a ~30% reduction in built times on my laptop with these changes, which were mostly recommendations from IWYU https://include-what-you-use.org/

Signed-off-by: Phil Wise phil@phil-wise.com

cajun-rat commented 2 years ago

Gah

fatal: unsafe repository ('/home/runner/work/aktualizr/aktualizr' is owned by someone else)
To add an exception for this directory, call:

    git config --global --add safe.directory /home/runner/work/aktualizr/aktualizr

I created #71 to track this