1[
2  {
3    "wd": "/tmp/stable",
4    "wrapper": {
5      "cmd": {
6        "path": "./x86_64-cros-linux-gnu-gcc",
7        "args": [
8          "-clang-syntax",
9          "main.cc"
10        ]
11      }
12    },
13    "cmds": [
14      {
15        "cmd": {
16          "path": "../../usr/bin/clang",
17          "args": [
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            "-fsyntax-only",
39            "-stdlib=libstdc++"
40          ]
41        }
42      },
43      {
44        "cmd": {
45          "path": "/usr/bin/ccache",
46          "args": [
47            "./x86_64-cros-linux-gnu-gcc.real",
48            "--sysroot=/usr/x86_64-cros-linux-gnu",
49            "-Wno-maybe-uninitialized",
50            "-Wno-unused-local-typedefs",
51            "-Wno-deprecated-declarations",
52            "-Wtrampolines",
53            "main.cc",
54            "-mno-movbe"
55          ],
56          "env_updates": [
57            "CCACHE_DIR=/var/cache/distfiles/ccache",
58            "CCACHE_UMASK=002"
59          ]
60        }
61      }
62    ]
63  },
64  {
65    "wd": "/tmp/stable",
66    "env": [
67      "GOMACC_PATH=/tmp/stable/gomacc"
68    ],
69    "wrapper": {
70      "cmd": {
71        "path": "./x86_64-cros-linux-gnu-gcc",
72        "args": [
73          "-clang-syntax",
74          "main.cc"
75        ]
76      }
77    },
78    "cmds": [
79      {
80        "cmd": {
81          "path": "/tmp/stable/gomacc",
82          "args": [
83            "../../usr/bin/clang",
84            "--sysroot=/usr/x86_64-cros-linux-gnu",
85            "-Qunused-arguments",
86            "-Wno-tautological-constant-compare",
87            "-Wno-tautological-unsigned-enum-zero-compare",
88            "-Wno-unknown-warning-option",
89            "-Wno-section",
90            "-static-libgcc",
91            "-Wno-final-dtor-non-final-class",
92            "-Werror=poison-system-directories",
93            "-fexperimental-new-pass-manager",
94            "-Wno-compound-token-split-by-macro",
95            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
96            "main.cc",
97            "-Wno-implicit-int-float-conversion",
98            "-Wno-compound-token-split-by-space",
99            "-Wno-string-concatenation",
100            "-mno-movbe",
101            "-B../../bin",
102            "-target",
103            "x86_64-cros-linux-gnu",
104            "-fsyntax-only",
105            "-stdlib=libstdc++"
106          ]
107        }
108      },
109      {
110        "cmd": {
111          "path": "/tmp/stable/gomacc",
112          "args": [
113            "./x86_64-cros-linux-gnu-gcc.real",
114            "--sysroot=/usr/x86_64-cros-linux-gnu",
115            "-Wno-maybe-uninitialized",
116            "-Wno-unused-local-typedefs",
117            "-Wno-deprecated-declarations",
118            "-Wtrampolines",
119            "main.cc",
120            "-mno-movbe"
121          ]
122        }
123      }
124    ]
125  },
126  {
127    "wd": "/tmp/stable",
128    "wrapper": {
129      "cmd": {
130        "path": "./x86_64-cros-linux-gnu-gcc",
131        "args": [
132          "-clang-syntax",
133          "main.cc"
134        ]
135      },
136      "stdout": "somemessage",
137      "stderr": "someerror",
138      "exitcode": 1
139    },
140    "cmds": [
141      {
142        "cmd": {
143          "path": "../../usr/bin/clang",
144          "args": [
145            "--sysroot=/usr/x86_64-cros-linux-gnu",
146            "-Qunused-arguments",
147            "-Wno-tautological-constant-compare",
148            "-Wno-tautological-unsigned-enum-zero-compare",
149            "-Wno-unknown-warning-option",
150            "-Wno-section",
151            "-static-libgcc",
152            "-Wno-final-dtor-non-final-class",
153            "-Werror=poison-system-directories",
154            "-fexperimental-new-pass-manager",
155            "-Wno-compound-token-split-by-macro",
156            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
157            "main.cc",
158            "-Wno-implicit-int-float-conversion",
159            "-Wno-compound-token-split-by-space",
160            "-Wno-string-concatenation",
161            "-mno-movbe",
162            "-B../../bin",
163            "-target",
164            "x86_64-cros-linux-gnu",
165            "-fsyntax-only",
166            "-stdlib=libstdc++"
167          ]
168        },
169        "stdout": "somemessage",
170        "stderr": "someerror",
171        "exitcode": 1
172      }
173    ]
174  },
175  {
176    "wd": "/tmp/stable",
177    "wrapper": {
178      "cmd": {
179        "path": "./x86_64-cros-linux-gnu-gcc",
180        "args": [
181          "-clang-syntax",
182          "main.cc"
183        ]
184      },
185      "stdout": "somemessage",
186      "stderr": "someerror",
187      "exitcode": 1
188    },
189    "cmds": [
190      {
191        "cmd": {
192          "path": "../../usr/bin/clang",
193          "args": [
194            "--sysroot=/usr/x86_64-cros-linux-gnu",
195            "-Qunused-arguments",
196            "-Wno-tautological-constant-compare",
197            "-Wno-tautological-unsigned-enum-zero-compare",
198            "-Wno-unknown-warning-option",
199            "-Wno-section",
200            "-static-libgcc",
201            "-Wno-final-dtor-non-final-class",
202            "-Werror=poison-system-directories",
203            "-fexperimental-new-pass-manager",
204            "-Wno-compound-token-split-by-macro",
205            "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics",
206            "main.cc",
207            "-Wno-implicit-int-float-conversion",
208            "-Wno-compound-token-split-by-space",
209            "-Wno-string-concatenation",
210            "-mno-movbe",
211            "-B../../bin",
212            "-target",
213            "x86_64-cros-linux-gnu",
214            "-fsyntax-only",
215            "-stdlib=libstdc++"
216          ]
217        }
218      },
219      {
220        "cmd": {
221          "path": "/usr/bin/ccache",
222          "args": [
223            "./x86_64-cros-linux-gnu-gcc.real",
224            "--sysroot=/usr/x86_64-cros-linux-gnu",
225            "-Wno-maybe-uninitialized",
226            "-Wno-unused-local-typedefs",
227            "-Wno-deprecated-declarations",
228            "-Wtrampolines",
229            "main.cc",
230            "-mno-movbe"
231          ],
232          "env_updates": [
233            "CCACHE_DIR=/var/cache/distfiles/ccache",
234            "CCACHE_UMASK=002"
235          ]
236        },
237        "stdout": "somemessage",
238        "stderr": "someerror",
239        "exitcode": 1
240      }
241    ]
242  }
243]
244