Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use ccache if available to speed up builds. #30

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

agatti
Copy link
Contributor

@agatti agatti commented Feb 20, 2024

Description

Use ccache to speed up builds if it is available. ccache usage is enabled by default, but it can be disabled by passing -DDISABLE_CCACHE=ON to the cmake command line or by setting the variable to ON with cmake-gui.

Affected area(s)

  • Core
  • GUI
  • Tests

Changes type

  • Bug fix
  • Migration
  • New feature
  • Feature rework

Proposed changes

  • Look for ccache in the user's PATH variable and use it as the default CMake compiler wrapper if it is found.

ccache usage is enabled by default, but it can be disabled by passing
-DDISABLE_CCACHE=ON to the cmake command line or by setting the variable
to ON with cmake-gui.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
@DorianBDev DorianBDev merged commit f7c66c5 into DegateCommunity:develop Feb 21, 2024
5 checks passed
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.

None yet

2 participants