• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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            "-grecord-gcc-switches",
21            "-fno-addrsig",
22            "-Wno-tautological-constant-compare",
23            "-Wno-tautological-unsigned-enum-zero-compare",
24            "-Wno-unknown-warning-option",
25            "-Wno-section",
26            "-static-libgcc",
27            "-fuse-ld=lld",
28            "-Wno-reorder-init-list",
29            "-Wno-final-dtor-non-final-class",
30            "-Wno-return-stack-address",
31            "-Werror=poison-system-directories",
32            "-fstack-protector-strong",
33            "-fPIE",
34            "-pie",
35            "-D_FORTIFY_SOURCE=2",
36            "-fno-omit-frame-pointer",
37            "main.cc",
38            "-Wno-implicit-int-float-conversion",
39            "-B../../bin",
40            "-target",
41            "x86_64-cros-linux-gnu",
42            "-fsyntax-only",
43            "-stdlib=libstdc++"
44          ]
45        }
46      },
47      {
48        "cmd": {
49          "path": "/usr/bin/ccache",
50          "args": [
51            "./x86_64-cros-linux-gnu-gcc.real",
52            "--sysroot=/usr/x86_64-cros-linux-gnu",
53            "-fno-reorder-blocks-and-partition",
54            "-Wno-unused-local-typedefs",
55            "-Wno-maybe-uninitialized",
56            "-fstack-protector-strong",
57            "-fPIE",
58            "-pie",
59            "-D_FORTIFY_SOURCE=2",
60            "-fno-omit-frame-pointer",
61            "main.cc",
62            "-mno-movbe"
63          ],
64          "env_updates": [
65            "CCACHE_BASEDIR=/usr/x86_64-cros-linux-gnu",
66            "CCACHE_DIR=/var/cache/distfiles/ccache",
67            "CCACHE_UMASK=002"
68          ]
69        }
70      }
71    ]
72  },
73  {
74    "wd": "/tmp/stable",
75    "env": [
76      "GOMACC_PATH=/tmp/stable/gomacc"
77    ],
78    "wrapper": {
79      "cmd": {
80        "path": "./x86_64-cros-linux-gnu-gcc",
81        "args": [
82          "-clang-syntax",
83          "main.cc"
84        ]
85      }
86    },
87    "cmds": [
88      {
89        "cmd": {
90          "path": "/tmp/stable/gomacc",
91          "args": [
92            "../../usr/bin/clang",
93            "--sysroot=/usr/x86_64-cros-linux-gnu",
94            "-Qunused-arguments",
95            "-grecord-gcc-switches",
96            "-fno-addrsig",
97            "-Wno-tautological-constant-compare",
98            "-Wno-tautological-unsigned-enum-zero-compare",
99            "-Wno-unknown-warning-option",
100            "-Wno-section",
101            "-static-libgcc",
102            "-fuse-ld=lld",
103            "-Wno-reorder-init-list",
104            "-Wno-final-dtor-non-final-class",
105            "-Wno-return-stack-address",
106            "-Werror=poison-system-directories",
107            "-fstack-protector-strong",
108            "-fPIE",
109            "-pie",
110            "-D_FORTIFY_SOURCE=2",
111            "-fno-omit-frame-pointer",
112            "main.cc",
113            "-Wno-implicit-int-float-conversion",
114            "-B../../bin",
115            "-target",
116            "x86_64-cros-linux-gnu",
117            "-fsyntax-only",
118            "-stdlib=libstdc++"
119          ]
120        }
121      },
122      {
123        "cmd": {
124          "path": "/tmp/stable/gomacc",
125          "args": [
126            "./x86_64-cros-linux-gnu-gcc.real",
127            "--sysroot=/usr/x86_64-cros-linux-gnu",
128            "-fno-reorder-blocks-and-partition",
129            "-Wno-unused-local-typedefs",
130            "-Wno-maybe-uninitialized",
131            "-fstack-protector-strong",
132            "-fPIE",
133            "-pie",
134            "-D_FORTIFY_SOURCE=2",
135            "-fno-omit-frame-pointer",
136            "main.cc",
137            "-mno-movbe"
138          ]
139        }
140      }
141    ]
142  },
143  {
144    "wd": "/tmp/stable",
145    "wrapper": {
146      "cmd": {
147        "path": "./x86_64-cros-linux-gnu-gcc",
148        "args": [
149          "-clang-syntax",
150          "main.cc"
151        ]
152      },
153      "stdout": "somemessage",
154      "stderr": "someerror",
155      "exitcode": 1
156    },
157    "cmds": [
158      {
159        "cmd": {
160          "path": "../../usr/bin/clang",
161          "args": [
162            "--sysroot=/usr/x86_64-cros-linux-gnu",
163            "-Qunused-arguments",
164            "-grecord-gcc-switches",
165            "-fno-addrsig",
166            "-Wno-tautological-constant-compare",
167            "-Wno-tautological-unsigned-enum-zero-compare",
168            "-Wno-unknown-warning-option",
169            "-Wno-section",
170            "-static-libgcc",
171            "-fuse-ld=lld",
172            "-Wno-reorder-init-list",
173            "-Wno-final-dtor-non-final-class",
174            "-Wno-return-stack-address",
175            "-Werror=poison-system-directories",
176            "-fstack-protector-strong",
177            "-fPIE",
178            "-pie",
179            "-D_FORTIFY_SOURCE=2",
180            "-fno-omit-frame-pointer",
181            "main.cc",
182            "-Wno-implicit-int-float-conversion",
183            "-B../../bin",
184            "-target",
185            "x86_64-cros-linux-gnu",
186            "-fsyntax-only",
187            "-stdlib=libstdc++"
188          ]
189        },
190        "stdout": "somemessage",
191        "stderr": "someerror",
192        "exitcode": 1
193      }
194    ]
195  },
196  {
197    "wd": "/tmp/stable",
198    "wrapper": {
199      "cmd": {
200        "path": "./x86_64-cros-linux-gnu-gcc",
201        "args": [
202          "-clang-syntax",
203          "main.cc"
204        ]
205      },
206      "stdout": "somemessage",
207      "stderr": "someerror",
208      "exitcode": 1
209    },
210    "cmds": [
211      {
212        "cmd": {
213          "path": "../../usr/bin/clang",
214          "args": [
215            "--sysroot=/usr/x86_64-cros-linux-gnu",
216            "-Qunused-arguments",
217            "-grecord-gcc-switches",
218            "-fno-addrsig",
219            "-Wno-tautological-constant-compare",
220            "-Wno-tautological-unsigned-enum-zero-compare",
221            "-Wno-unknown-warning-option",
222            "-Wno-section",
223            "-static-libgcc",
224            "-fuse-ld=lld",
225            "-Wno-reorder-init-list",
226            "-Wno-final-dtor-non-final-class",
227            "-Wno-return-stack-address",
228            "-Werror=poison-system-directories",
229            "-fstack-protector-strong",
230            "-fPIE",
231            "-pie",
232            "-D_FORTIFY_SOURCE=2",
233            "-fno-omit-frame-pointer",
234            "main.cc",
235            "-Wno-implicit-int-float-conversion",
236            "-B../../bin",
237            "-target",
238            "x86_64-cros-linux-gnu",
239            "-fsyntax-only",
240            "-stdlib=libstdc++"
241          ]
242        }
243      },
244      {
245        "cmd": {
246          "path": "/usr/bin/ccache",
247          "args": [
248            "./x86_64-cros-linux-gnu-gcc.real",
249            "--sysroot=/usr/x86_64-cros-linux-gnu",
250            "-fno-reorder-blocks-and-partition",
251            "-Wno-unused-local-typedefs",
252            "-Wno-maybe-uninitialized",
253            "-fstack-protector-strong",
254            "-fPIE",
255            "-pie",
256            "-D_FORTIFY_SOURCE=2",
257            "-fno-omit-frame-pointer",
258            "main.cc",
259            "-mno-movbe"
260          ],
261          "env_updates": [
262            "CCACHE_BASEDIR=/usr/x86_64-cros-linux-gnu",
263            "CCACHE_DIR=/var/cache/distfiles/ccache",
264            "CCACHE_UMASK=002"
265          ]
266        },
267        "stdout": "somemessage",
268        "stderr": "someerror",
269        "exitcode": 1
270      }
271    ]
272  }
273]
274