1[
2  {
3    "wd": "/tmp/stable",
4    "wrapper": {
5      "cmd": {
6        "path": "./x86_64-cros-linux-gnu-clang",
7        "args": [
8          "main.cc"
9        ]
10      }
11    },
12    "cmds": [
13      {
14        "cmd": {
15          "path": "/usr/bin/ccache",
16          "args": [
17            "../../usr/bin/clang",
18            "--sysroot=/usr/x86_64-cros-linux-gnu",
19            "-Qunused-arguments",
20            "-Wno-tautological-constant-compare",
21            "-Wno-tautological-unsigned-enum-zero-compare",
22            "-Wno-unknown-warning-option",
23            "-Wno-section",
24            "-static-libgcc",
25            "-Wno-final-dtor-non-final-class",
26            "-Werror=poison-system-directories",
27            "-fexperimental-new-pass-manager",
28            "-Wno-compound-token-split-by-macro",
29            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
30            "main.cc",
31            "-Wno-implicit-int-float-conversion",
32            "-Wno-compound-token-split-by-space",
33            "-Wno-string-concatenation",
34            "-mno-movbe",
35            "-B../../bin",
36            "-target",
37            "x86_64-cros-linux-gnu"
38          ],
39          "env_updates": [
40            "CCACHE_DIR=/var/cache/distfiles/ccache",
41            "CCACHE_UMASK=002",
42            "CCACHE_CPP2=yes"
43          ]
44        }
45      }
46    ]
47  },
48  {
49    "wd": "/tmp/stable",
50    "wrapper": {
51      "cmd": {
52        "path": "./x86_64-cros-linux-gnu-clang",
53        "args": [
54          "main.cc"
55        ]
56      },
57      "stdout": "somemessage",
58      "stderr": "someerror",
59      "exitcode": 1
60    },
61    "cmds": [
62      {
63        "cmd": {
64          "path": "/usr/bin/ccache",
65          "args": [
66            "../../usr/bin/clang",
67            "--sysroot=/usr/x86_64-cros-linux-gnu",
68            "-Qunused-arguments",
69            "-Wno-tautological-constant-compare",
70            "-Wno-tautological-unsigned-enum-zero-compare",
71            "-Wno-unknown-warning-option",
72            "-Wno-section",
73            "-static-libgcc",
74            "-Wno-final-dtor-non-final-class",
75            "-Werror=poison-system-directories",
76            "-fexperimental-new-pass-manager",
77            "-Wno-compound-token-split-by-macro",
78            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
79            "main.cc",
80            "-Wno-implicit-int-float-conversion",
81            "-Wno-compound-token-split-by-space",
82            "-Wno-string-concatenation",
83            "-mno-movbe",
84            "-B../../bin",
85            "-target",
86            "x86_64-cros-linux-gnu"
87          ],
88          "env_updates": [
89            "CCACHE_DIR=/var/cache/distfiles/ccache",
90            "CCACHE_UMASK=002",
91            "CCACHE_CPP2=yes"
92          ]
93        },
94        "stdout": "somemessage",
95        "stderr": "someerror",
96        "exitcode": 1
97      }
98    ]
99  },
100  {
101    "wd": "/tmp/stable",
102    "wrapper": {
103      "cmd": {
104        "path": "./x86_64-cros-linux-gnu-clang++",
105        "args": [
106          "main.cc"
107        ]
108      }
109    },
110    "cmds": [
111      {
112        "cmd": {
113          "path": "/usr/bin/ccache",
114          "args": [
115            "../../usr/bin/clang++",
116            "--sysroot=/usr/x86_64-cros-linux-gnu",
117            "-Qunused-arguments",
118            "-Wno-tautological-constant-compare",
119            "-Wno-tautological-unsigned-enum-zero-compare",
120            "-Wno-unknown-warning-option",
121            "-Wno-section",
122            "-static-libgcc",
123            "-Wno-final-dtor-non-final-class",
124            "-Werror=poison-system-directories",
125            "-fexperimental-new-pass-manager",
126            "-Wno-compound-token-split-by-macro",
127            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
128            "main.cc",
129            "-Wno-implicit-int-float-conversion",
130            "-Wno-compound-token-split-by-space",
131            "-Wno-string-concatenation",
132            "-mno-movbe",
133            "-B../../bin",
134            "-target",
135            "x86_64-cros-linux-gnu"
136          ],
137          "env_updates": [
138            "CCACHE_DIR=/var/cache/distfiles/ccache",
139            "CCACHE_UMASK=002",
140            "CCACHE_CPP2=yes"
141          ]
142        }
143      }
144    ]
145  },
146  {
147    "wd": "/tmp/stable",
148    "env": [
149      "CLANG=somepath/clang"
150    ],
151    "wrapper": {
152      "cmd": {
153        "path": "./x86_64-cros-linux-gnu-clang",
154        "args": [
155          "main.cc"
156        ]
157      }
158    },
159    "cmds": [
160      {
161        "cmd": {
162          "path": "/usr/bin/ccache",
163          "args": [
164            "somepath/clang",
165            "--sysroot=/usr/x86_64-cros-linux-gnu",
166            "-Qunused-arguments",
167            "-Wno-tautological-constant-compare",
168            "-Wno-tautological-unsigned-enum-zero-compare",
169            "-Wno-unknown-warning-option",
170            "-Wno-section",
171            "-static-libgcc",
172            "-Wno-final-dtor-non-final-class",
173            "-Werror=poison-system-directories",
174            "-fexperimental-new-pass-manager",
175            "-Wno-compound-token-split-by-macro",
176            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
177            "main.cc",
178            "-Wno-implicit-int-float-conversion",
179            "-Wno-compound-token-split-by-space",
180            "-Wno-string-concatenation",
181            "-mno-movbe",
182            "-B../../bin",
183            "-target",
184            "x86_64-cros-linux-gnu"
185          ],
186          "env_updates": [
187            "CCACHE_DIR=/var/cache/distfiles/ccache",
188            "CCACHE_UMASK=002",
189            "CCACHE_CPP2=yes"
190          ]
191        }
192      }
193    ]
194  },
195  {
196    "wd": "/tmp/stable",
197    "wrapper": {
198      "cmd": {
199        "path": "./x86_64-cros-linux-gnu-clang",
200        "args": [
201          "-Xclang-path=/somedir",
202          "main.cc"
203        ]
204      }
205    },
206    "cmds": [
207      {
208        "cmd": {
209          "path": "../../usr/bin/clang",
210          "args": [
211            "--print-resource-dir"
212          ]
213        },
214        "stdout": "someResourceDir"
215      },
216      {
217        "cmd": {
218          "path": "/usr/bin/ccache",
219          "args": [
220            "/somedir/clang",
221            "--sysroot=/usr/x86_64-cros-linux-gnu",
222            "-Qunused-arguments",
223            "-Wno-tautological-constant-compare",
224            "-Wno-tautological-unsigned-enum-zero-compare",
225            "-Wno-unknown-warning-option",
226            "-Wno-section",
227            "-static-libgcc",
228            "-Wno-final-dtor-non-final-class",
229            "-Werror=poison-system-directories",
230            "-fexperimental-new-pass-manager",
231            "-Wno-compound-token-split-by-macro",
232            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
233            "-resource-dir=someResourceDir",
234            "--gcc-toolchain=/usr",
235            "main.cc",
236            "-Wno-implicit-int-float-conversion",
237            "-Wno-compound-token-split-by-space",
238            "-Wno-string-concatenation",
239            "-mno-movbe",
240            "-B../../bin",
241            "-target",
242            "x86_64-cros-linux-gnu"
243          ],
244          "env_updates": [
245            "CCACHE_DIR=/var/cache/distfiles/ccache",
246            "CCACHE_UMASK=002",
247            "CCACHE_CPP2=yes"
248          ]
249        }
250      }
251    ]
252  },
253  {
254    "wd": "/tmp/stable",
255    "env": [
256      "GOMACC_PATH=/tmp/stable/gomacc"
257    ],
258    "wrapper": {
259      "cmd": {
260        "path": "./x86_64-cros-linux-gnu-clang",
261        "args": [
262          "-Xclang-path=/somedir",
263          "main.cc"
264        ]
265      }
266    },
267    "cmds": [
268      {
269        "cmd": {
270          "path": "../../usr/bin/clang",
271          "args": [
272            "--print-resource-dir"
273          ]
274        },
275        "stdout": "someResourceDir"
276      },
277      {
278        "cmd": {
279          "path": "/tmp/stable/gomacc",
280          "args": [
281            "/somedir/clang",
282            "--sysroot=/usr/x86_64-cros-linux-gnu",
283            "-Qunused-arguments",
284            "-Wno-tautological-constant-compare",
285            "-Wno-tautological-unsigned-enum-zero-compare",
286            "-Wno-unknown-warning-option",
287            "-Wno-section",
288            "-static-libgcc",
289            "-Wno-final-dtor-non-final-class",
290            "-Werror=poison-system-directories",
291            "-fexperimental-new-pass-manager",
292            "-Wno-compound-token-split-by-macro",
293            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
294            "-resource-dir=someResourceDir",
295            "--gcc-toolchain=/usr",
296            "main.cc",
297            "-Wno-implicit-int-float-conversion",
298            "-Wno-compound-token-split-by-space",
299            "-Wno-string-concatenation",
300            "-mno-movbe",
301            "-B../../bin",
302            "-target",
303            "x86_64-cros-linux-gnu"
304          ]
305        }
306      }
307    ]
308  },
309  {
310    "wd": "/tmp/stable",
311    "wrapper": {
312      "cmd": {
313        "path": "./x86_64-cros-linux-gnu-clang",
314        "args": [
315          "-Xclang-path=/somedir",
316          "main.cc"
317        ]
318      },
319      "stdout": "somemessage",
320      "stderr": "someerror",
321      "exitcode": 1
322    },
323    "cmds": [
324      {
325        "cmd": {
326          "path": "../../usr/bin/clang",
327          "args": [
328            "--print-resource-dir"
329          ]
330        },
331        "stdout": "someResourceDir"
332      },
333      {
334        "cmd": {
335          "path": "/usr/bin/ccache",
336          "args": [
337            "/somedir/clang",
338            "--sysroot=/usr/x86_64-cros-linux-gnu",
339            "-Qunused-arguments",
340            "-Wno-tautological-constant-compare",
341            "-Wno-tautological-unsigned-enum-zero-compare",
342            "-Wno-unknown-warning-option",
343            "-Wno-section",
344            "-static-libgcc",
345            "-Wno-final-dtor-non-final-class",
346            "-Werror=poison-system-directories",
347            "-fexperimental-new-pass-manager",
348            "-Wno-compound-token-split-by-macro",
349            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
350            "-resource-dir=someResourceDir",
351            "--gcc-toolchain=/usr",
352            "main.cc",
353            "-Wno-implicit-int-float-conversion",
354            "-Wno-compound-token-split-by-space",
355            "-Wno-string-concatenation",
356            "-mno-movbe",
357            "-B../../bin",
358            "-target",
359            "x86_64-cros-linux-gnu"
360          ],
361          "env_updates": [
362            "CCACHE_DIR=/var/cache/distfiles/ccache",
363            "CCACHE_UMASK=002",
364            "CCACHE_CPP2=yes"
365          ]
366        },
367        "stdout": "somemessage",
368        "stderr": "someerror",
369        "exitcode": 1
370      }
371    ]
372  },
373  {
374    "wd": "/tmp/stable",
375    "wrapper": {
376      "cmd": {
377        "path": "/tmp/stable/x86_64-cros-linux-gnu-clang",
378        "args": [
379          "main.cc"
380        ]
381      }
382    },
383    "cmds": [
384      {
385        "cmd": {
386          "path": "/usr/bin/ccache",
387          "args": [
388            "/usr/bin/clang",
389            "--sysroot=/usr/x86_64-cros-linux-gnu",
390            "-Qunused-arguments",
391            "-Wno-tautological-constant-compare",
392            "-Wno-tautological-unsigned-enum-zero-compare",
393            "-Wno-unknown-warning-option",
394            "-Wno-section",
395            "-static-libgcc",
396            "-Wno-final-dtor-non-final-class",
397            "-Werror=poison-system-directories",
398            "-fexperimental-new-pass-manager",
399            "-Wno-compound-token-split-by-macro",
400            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
401            "main.cc",
402            "-Wno-implicit-int-float-conversion",
403            "-Wno-compound-token-split-by-space",
404            "-Wno-string-concatenation",
405            "-mno-movbe",
406            "-B../../bin",
407            "-target",
408            "x86_64-cros-linux-gnu"
409          ],
410          "env_updates": [
411            "CCACHE_DIR=/var/cache/distfiles/ccache",
412            "CCACHE_UMASK=002",
413            "CCACHE_CPP2=yes"
414          ]
415        }
416      }
417    ]
418  },
419  {
420    "wd": "/tmp/stable",
421    "wrapper": {
422      "cmd": {
423        "path": "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-clang",
424        "args": [
425          "main.cc"
426        ]
427      }
428    },
429    "cmds": [
430      {
431        "cmd": {
432          "path": "/usr/bin/ccache",
433          "args": [
434            "a/b/usr/bin/clang",
435            "--sysroot=/tmp/stable/a/b/usr/x86_64-cros-linux-gnu",
436            "-Qunused-arguments",
437            "-Wno-tautological-constant-compare",
438            "-Wno-tautological-unsigned-enum-zero-compare",
439            "-Wno-unknown-warning-option",
440            "-Wno-section",
441            "-static-libgcc",
442            "-Wno-final-dtor-non-final-class",
443            "-Werror=poison-system-directories",
444            "-fexperimental-new-pass-manager",
445            "-Wno-compound-token-split-by-macro",
446            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
447            "main.cc",
448            "-Wno-implicit-int-float-conversion",
449            "-Wno-compound-token-split-by-space",
450            "-Wno-string-concatenation",
451            "-mno-movbe",
452            "-Ba/b/bin",
453            "-target",
454            "x86_64-cros-linux-gnu"
455          ],
456          "env_updates": [
457            "CCACHE_DIR=/var/cache/distfiles/ccache",
458            "CCACHE_UMASK=002",
459            "CCACHE_CPP2=yes"
460          ]
461        }
462      }
463    ]
464  },
465  {
466    "wd": "/tmp/stable",
467    "wrapper": {
468      "cmd": {
469        "path": "./symlinked/x86_64-cros-linux-gnu-clang",
470        "args": [
471          "main.cc"
472        ]
473      }
474    },
475    "cmds": [
476      {
477        "cmd": {
478          "path": "/usr/bin/ccache",
479          "args": [
480            "a/b/usr/bin/clang",
481            "--sysroot=/tmp/stable/a/b/usr/x86_64-cros-linux-gnu",
482            "-Qunused-arguments",
483            "-Wno-tautological-constant-compare",
484            "-Wno-tautological-unsigned-enum-zero-compare",
485            "-Wno-unknown-warning-option",
486            "-Wno-section",
487            "-static-libgcc",
488            "-Wno-final-dtor-non-final-class",
489            "-Werror=poison-system-directories",
490            "-fexperimental-new-pass-manager",
491            "-Wno-compound-token-split-by-macro",
492            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
493            "main.cc",
494            "-Wno-implicit-int-float-conversion",
495            "-Wno-compound-token-split-by-space",
496            "-Wno-string-concatenation",
497            "-mno-movbe",
498            "-Ba/b/bin",
499            "-target",
500            "x86_64-cros-linux-gnu"
501          ],
502          "env_updates": [
503            "CCACHE_DIR=/var/cache/distfiles/ccache",
504            "CCACHE_UMASK=002",
505            "CCACHE_CPP2=yes"
506          ]
507        }
508      }
509    ]
510  },
511  {
512    "wd": "/tmp/stable",
513    "wrapper": {
514      "cmd": {
515        "path": "somedir/x86_64-cros-linux-gnu-clang",
516        "args": [
517          "main.cc"
518        ]
519      }
520    },
521    "cmds": [
522      {
523        "cmd": {
524          "path": "/usr/bin/ccache",
525          "args": [
526            "../../usr/bin/clang",
527            "--sysroot=/usr/x86_64-cros-linux-gnu",
528            "-Qunused-arguments",
529            "-Wno-tautological-constant-compare",
530            "-Wno-tautological-unsigned-enum-zero-compare",
531            "-Wno-unknown-warning-option",
532            "-Wno-section",
533            "-static-libgcc",
534            "-Wno-final-dtor-non-final-class",
535            "-Werror=poison-system-directories",
536            "-fexperimental-new-pass-manager",
537            "-Wno-compound-token-split-by-macro",
538            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
539            "main.cc",
540            "-Wno-implicit-int-float-conversion",
541            "-Wno-compound-token-split-by-space",
542            "-Wno-string-concatenation",
543            "-mno-movbe",
544            "-B../../bin",
545            "-target",
546            "x86_64-cros-linux-gnu"
547          ],
548          "env_updates": [
549            "CCACHE_DIR=/var/cache/distfiles/ccache",
550            "CCACHE_UMASK=002",
551            "CCACHE_CPP2=yes"
552          ]
553        }
554      }
555    ]
556  },
557  {
558    "wd": "/tmp/stable",
559    "env": [
560      "PATH=/tmp/stable/pathenv"
561    ],
562    "wrapper": {
563      "cmd": {
564        "path": "x86_64-cros-linux-gnu-clang",
565        "args": [
566          "main.cc"
567        ]
568      }
569    },
570    "cmds": [
571      {
572        "cmd": {
573          "path": "/usr/bin/ccache",
574          "args": [
575            "/usr/bin/clang",
576            "--sysroot=/usr/x86_64-cros-linux-gnu",
577            "-Qunused-arguments",
578            "-Wno-tautological-constant-compare",
579            "-Wno-tautological-unsigned-enum-zero-compare",
580            "-Wno-unknown-warning-option",
581            "-Wno-section",
582            "-static-libgcc",
583            "-Wno-final-dtor-non-final-class",
584            "-Werror=poison-system-directories",
585            "-fexperimental-new-pass-manager",
586            "-Wno-compound-token-split-by-macro",
587            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
588            "main.cc",
589            "-Wno-implicit-int-float-conversion",
590            "-Wno-compound-token-split-by-space",
591            "-Wno-string-concatenation",
592            "-mno-movbe",
593            "-B../../bin",
594            "-target",
595            "x86_64-cros-linux-gnu"
596          ],
597          "env_updates": [
598            "CCACHE_DIR=/var/cache/distfiles/ccache",
599            "CCACHE_UMASK=002",
600            "CCACHE_CPP2=yes"
601          ]
602        }
603      }
604    ]
605  }
606]
607