Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-D3FD93ED-01E8-48A8-B809-DAD8DAB583EA
Visible to Intel only — GUID: GUID-D3FD93ED-01E8-48A8-B809-DAD8DAB583EA
Ccache*
Ccache* is a compiler cache tool. It speeds up recompilation by caching previous compilations and detecting when the same compilation is being done again. One common use case is in CI/CD systems. Visit the Ccache download page for the latest version.
Usage
Ccache can be used with Intel compilers on Linux*. It can also be used when compiling SYCL code with icpx.
For direct compilations, prefix your compilation command with Ccache:
ccache icx -c test.c ccache icpx -fsycl -c sycl_test.cpp
When using CMake, set CMAKE_CXX_COMPILER_LAUNCHER to Ccache:
cmake -DCMAKE_CXX_COMPILER=icpx -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ..