TheThingsIndustries / generic-node-se

Generic Node Sensor Edition
https://www.genericnode.com
Other
110 stars 31 forks source link

Increase compilation speed #63

Closed elsalahy closed 3 years ago

elsalahy commented 3 years ago

Summary:

Need to increase the compilation speed of our repo.

Why do we need this?

After we added all the libraries, the compilation time takes around 1 min for a full build after a clean. This is not ideal in development and unit testing.

What is already there? What do you see now?

Slow compilation of all the files and libraries.

What is missing? What do you want to see?

Faster compilation speed and a smother experience.

How do you propose to implement this?

Add development cmakes that target only the files we need for development. Increase build speed by offloading it to multiple cores.

Environment:

Baremetal

Acceptance Criteria:

Compiles all applications with no warning or errors.

What can you do yourself and what do you need help with?

All