-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathplatform-compiler-language-support.html
More file actions
468 lines (468 loc) · 10.4 KB
/
platform-compiler-language-support.html
File metadata and controls
468 lines (468 loc) · 10.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Ccache — Supported platforms, compilers and languages</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="ccache.css">
</head>
<body>
<header>
<div class="container">
<h1>
<a href="/">
<span style="font-size: 150%; ">Ccache</span> — a fast C/C++ compiler cache
</a>
</h1>
<button class="sidebar-toggle" aria-label="Toggle menu">☰</button>
</div>
</header>
<div class="layout">
<div class="overlay"></div>
<aside class="sidebar">
<nav>
<ul>
<li>
<a href="/">Overview</a>
</li>
<li>
<a href="/download.html">Download</a>
</li>
<li>
<a href="/documentation.html">Documentation</a>
<ul>
<li>
<a class="current" href="/platform-compiler-language-support.html">Supported platforms and compilers</a>
</li>
<li>
<a href="/storage-helpers.html">Storage helpers</a>
</li>
<li>
<a href="/performance.html">Performance</a>
</li>
</ul>
</li>
<li>
<a href="/contribution.html">Contribution</a>
<ul>
<li>
<a href="/bugs.html">Bug report</a>
</li>
<li>
<a href="/repo.html">Source repository</a>
</li>
<li>
<a href="https://github.com/ccache/ccache/discussions">Discussions</a>
</li>
<li>
<a href="https://lists.samba.org/mailman/listinfo/ccache/">Mailing list</a>
</li>
</ul>
</li>
<li>
<a href="/news.html">News</a>
</li>
<li>
<a href="/credits.html">Credits</a>
</li>
<li>
<a href="/license.html">License</a>
</li>
</ul>
</nav>
</aside>
<main class="content">
<h1>Supported platforms, compilers and languages</h1>
<p>
This page collects information on platforms (operating systems), compilers and
source code languages that are supported by the latest released ccache
version, currently <b>4.13.2</b>. The information below aims to be
correct, but new versions of e.g. an OS or a compiler may introduce new
behavior that breaks some of ccache's assumptions.
</p>
<p>
If you want to contribute new or updated information, please
<a href="https://github.com/ccache/ccache.github.io/issues/new">open an
issue</a> or maybe even create a pull request for
the <a href="https://github.com/ccache/ccache.github.io">web site
repository</a>.
</p>
<h3 id="levels">Support levels</h3>
<table>
<tr>
<th>Level</th>
<th>Description</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
Supported. Built and tested regularly and before new releases. High
attention to bug reports.
</td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
Partially supported. Not part of the test procedure before a new release,
but known to work in many scenarios. Bug fixing and testing might depend
on contributions from the community.
</td>
</tr>
<tr>
<td class="support-level-c">C</td>
<td>Not officially supported. Has known compatibility gaps. May work in some scenarios</td>
</tr>
</table>
<h2 id="run_time" style="clear: right;">Run-time support (i.e., using ccache)</h2>
<h3 id="run_time_platforms">Platforms</h3>
<table>
<tr>
<th>Level</th>
<th>Platform</th>
<th>Notes</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://en.wikipedia.org/wiki/Linux">Linux</a> (GNU/Linux)</td>
<td>Regularly tested on Ubuntu 22.04 and 24.04</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://en.wikipedia.org/wiki/MacOS">macOS</a> (OS X)</td>
<td>Regularly tested on macOS 14</a></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
Windows native
</td>
<td>
Regularly built with <a href="http://mingw-w64.org">Mingw-w64</a> and
tested on Windows 2025
</td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
Windows with <a href="https://www.msys2.org">MSYS2</a>
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Other Unix-like platforms</td>
<td>
See also the <a href="https://repology.org/project/ccache/versions">ccache
page on Repology</a>
</td>
</tr>
</table>
<p class="contribute">
Want to add or correct something?
<a href="https://github.com/ccache/ccache.github.io/issues/new">Open an
issue</a>.
</p>
<h3 id="run_time_compilers">Compilers</h3>
<table>
<tr>
<th>Level</th>
<th>Compiler</th>
<th>Notes</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://gcc.gnu.org">GCC</a></td>
<td></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://clang.llvm.org">Clang</a></td>
<td>
See separate entry for clang-cl below
</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
<a href="https://docs.microsoft.com/en-us/cpp/">MSVC</a> (Microsoft Visual C++)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
<a href="https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/#introduction">NVCC</a>
(Nvidia CUDA compiler)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
<a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html">Intel
C++ compiler</a> (ICX/ICC/ICPC)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Other GCC-like compilers</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
Some <a href="https://www.edg.com">EDG</a>-based compilers,
e.g. <a href="https://www.ghs.com/products/compiler.html">GHS</a> (Green
Hills)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
<a href="https://clang.llvm.org/docs/MSVCCompatibility.html">clang-cl</a>
(MSVC compatibility for Clang)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
<a href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler.html">icx-cl</a>
(MSVC compatibility for ICX)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-c">C</td>
<td>
<a href="https://ispc.github.io">ISPC</a> (Intel Implicit SPMD Program
Compiler)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-c">C</td>
<td>
<a href="https://en.wikipedia.org/wiki/TASKING">TASKING VX-toolset for
TriCore</a> (ctc, cctc)
</td>
<td>See <a href="https://github.com/ccache/ccache/pull/942">ccache PR #942</a></td>
</tr>
</table>
<p class="contribute">
Want to add or correct something?
<a href="https://github.com/ccache/ccache.github.io/issues/new">Open an
issue</a>.
</p>
<h3>Source code languages</h3>
<table>
<tr>
<th>Level</th>
<th>Language</th>
<th>Notes</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>Assembler (<code>.s</code>, <code>.sx</code>, <code>.S</code>)</td>
<td>
<code>.sx</code> and <code>.S</code> are assembler with a C preprocessor
pass
</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>C (<code>.c</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>C header (<code>.h</code>)</td>
<td>For precompilation</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>C preprocessed (<code>.i</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
C++
(<code>.cc</code>, <code>.cpp</code>, <code>.cp</code>, <code>.cxx</code>,
<code>.c++</code>, <code>.C</code>)
</td>
<td>
Also uppercase variants of extensions
</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
C++ header
(<code>.hh</code>, <code>.hpp</code>, <code>.hp</code>, <code>.hxx</code>,
<code>.h++</code>, <code>.H</code>)
</td>
<td>
For precompilation; also uppercase variants of extensions
</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
C++ preprocessed
(<code>.ii</code>)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
<a href="https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/#introduction">CUDA</a>
(<code>.cu</code>)
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Objective-C (<code>.m</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Objective-C preprocessed (<code>.mi</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Objective-C++ (<code>.mm</code>, <code>.M</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Objective-C++ preprocessed (<code>.mii</code>)</td>
<td></td>
</tr>
<tr>
<td class="support-level-c">C</td>
<td>
<a href="https://docs.nvidia.com/cuda/cuda-compiler-driver-nvcc/#introduction">CUDA</a> header
(<code>.cuh</code>)
</td>
<td></td>
</tr>
</table>
<p class="contribute">
Want to add or correct something?
<a href="https://github.com/ccache/ccache.github.io/issues/new">Open an
issue</a>.
</p>
<h2 id="build_time">Build-time support (i.e., building ccache itself)</h2>
<h3 id="build_time_platforms">Platforms</h3>
<table>
<tr>
<th>Level</th>
<th>Platform</th>
<th>Notes</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://en.wikipedia.org/wiki/Linux">Linux</a> (GNU/Linux)</td>
<td>Regularly tested on Ubuntu 22.04 and 24.04</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://en.wikipedia.org/wiki/MacOS">macOS</a> (OS X)</td>
<td>Regularly tested on macOS 14</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td>
Windows native with <a href="http://mingw-w64.org">Mingw-w64</a>
</td>
<td>Regularly tested on Windows 2025</td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Other Unix-like platforms</td>
<td>
See also the <a href="https://repology.org/project/ccache/versions">ccache
page on Repology</a>
</td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
Windows with <a href="https://www.msys2.org/">MSYS2</a>
</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
Windows native with
<a href="https://docs.microsoft.com/en-us/cpp/">MSVC</a> (Microsoft Visual
C++)
</td>
<td></td>
</tr>
</table>
<p class="contribute">
Want to add or correct something?
<a href="https://github.com/ccache/ccache.github.io/issues/new">Open an
issue</a>.
</p>
<h3 id="build_time_compilers">Compilers</h3>
<table>
<tr>
<th>Level</th>
<th>Compiler</th>
<th>Notes</th>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://gcc.gnu.org/">GCC</a></td>
<td>GCC 8+</td>
</tr>
<tr>
<td class="support-level-a">A</td>
<td><a href="https://clang.llvm.org/">Clang</a></td>
<td>Clang 9+</td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>Other C++17 compilers on Unix-like systems</td>
<td></td>
</tr>
<tr>
<td class="support-level-b">B</td>
<td>
<a href="https://docs.microsoft.com/en-us/cpp/">MSVC</a> (Microsoft Visual
C++)
</td>
<td></td>
</tr>
</table>
<p class="contribute">
Want to add or correct something?
<a href="https://github.com/ccache/ccache.github.io/issues/new">Open an
issue</a>.
</p>
</main>
</div> <!-- layout -->
<script>
const sidebar = document.querySelector(".sidebar");
const overlay = document.querySelector(".overlay");
const toggle = document.querySelector(".sidebar-toggle");
toggle.addEventListener("click", () => {
sidebar.classList.toggle("show");
overlay.classList.toggle("show");
});
overlay.addEventListener("click", () => {
sidebar.classList.remove("show");
overlay.classList.remove("show");
});
</script>
</body>
</html>