Skip to content

Comments

Usage of ccache in the test suite#364

Open
svalat wants to merge 11 commits intoidefix-code:developfrom
svalat:feature/test-ccache
Open

Usage of ccache in the test suite#364
svalat wants to merge 11 commits intoidefix-code:developfrom
svalat:feature/test-ccache

Conversation

@svalat
Copy link
Collaborator

@svalat svalat commented Feb 17, 2026

This patch propose to use ccache in the test suite so it reduces the build time.

Ccache is compatible with clang, gcc, nvcc and in depending on community feedback supported by icpx (https://ccache.dev/platform-compiler-language-support.html).

The way to use it for intel (and all compiler) with cmake is : https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2025-2/ccache.html

Usage in the test suite is just to add the option -ccache when calling the test script.

@svalat svalat force-pushed the feature/test-ccache branch 2 times, most recently from 34d018b to c6e885d Compare February 17, 2026 12:36
@svalat svalat force-pushed the feature/test-ccache branch from fe92ff7 to 4af7e8a Compare February 17, 2026 13:46
@glesur glesur self-requested a review February 20, 2026 15:18
Copy link
Contributor

@glesur glesur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you should also add the Idefix_PROBLEM_DIR option to the documentation in doc/source/reference/makefile.rst

@glesur glesur added enhancement New feature or request tests labels Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants