• 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          "main.cc"
9        ]
10      }
11    },
12    "cmds": [
13      {
14        "cmd": {
15          "path": "/usr/bin/ccache",
16          "args": [
17            "./x86_64-cros-linux-gnu-gcc.real",
18            "--sysroot=/usr/x86_64-cros-linux-gnu",
19            "-fno-reorder-blocks-and-partition",
20            "-Wno-unused-local-typedefs",
21            "-Wno-maybe-uninitialized",
22            "-fcommon",
23            "-fstack-protector-strong",
24            "-D_FORTIFY_SOURCE=2",
25            "-fno-omit-frame-pointer",
26            "-static-libgcc",
27            "main.cc",
28            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
29            "-mno-movbe"
30          ],
31          "env_updates": [
32            "CCACHE_DIR=/var/cache/distfiles/ccache",
33            "CCACHE_UMASK=002"
34          ]
35        }
36      }
37    ]
38  },
39  {
40    "wd": "/tmp/stable",
41    "wrapper": {
42      "cmd": {
43        "path": "./x86_64-cros-linux-gnu-gcc",
44        "args": [
45          "main.cc"
46        ]
47      },
48      "stdout": "somemessage",
49      "stderr": "someerror",
50      "exitcode": 1
51    },
52    "cmds": [
53      {
54        "cmd": {
55          "path": "/usr/bin/ccache",
56          "args": [
57            "./x86_64-cros-linux-gnu-gcc.real",
58            "--sysroot=/usr/x86_64-cros-linux-gnu",
59            "-fno-reorder-blocks-and-partition",
60            "-Wno-unused-local-typedefs",
61            "-Wno-maybe-uninitialized",
62            "-fcommon",
63            "-fstack-protector-strong",
64            "-D_FORTIFY_SOURCE=2",
65            "-fno-omit-frame-pointer",
66            "-static-libgcc",
67            "main.cc",
68            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
69            "-mno-movbe"
70          ],
71          "env_updates": [
72            "CCACHE_DIR=/var/cache/distfiles/ccache",
73            "CCACHE_UMASK=002"
74          ]
75        },
76        "stdout": "somemessage",
77        "stderr": "someerror",
78        "exitcode": 1
79      }
80    ]
81  },
82  {
83    "wd": "/tmp/stable",
84    "wrapper": {
85      "cmd": {
86        "path": "/tmp/stable/x86_64-cros-linux-gnu-gcc",
87        "args": [
88          "main.cc"
89        ]
90      }
91    },
92    "cmds": [
93      {
94        "cmd": {
95          "path": "/usr/bin/ccache",
96          "args": [
97            "/tmp/stable/x86_64-cros-linux-gnu-gcc.real",
98            "--sysroot=/usr/x86_64-cros-linux-gnu",
99            "-fno-reorder-blocks-and-partition",
100            "-Wno-unused-local-typedefs",
101            "-Wno-maybe-uninitialized",
102            "-fcommon",
103            "-fstack-protector-strong",
104            "-D_FORTIFY_SOURCE=2",
105            "-fno-omit-frame-pointer",
106            "-static-libgcc",
107            "main.cc",
108            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
109            "-mno-movbe"
110          ],
111          "env_updates": [
112            "CCACHE_DIR=/var/cache/distfiles/ccache",
113            "CCACHE_UMASK=002"
114          ]
115        }
116      }
117    ]
118  },
119  {
120    "wd": "/tmp/stable",
121    "wrapper": {
122      "cmd": {
123        "path": "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc",
124        "args": [
125          "main.cc"
126        ]
127      }
128    },
129    "cmds": [
130      {
131        "cmd": {
132          "path": "/usr/bin/ccache",
133          "args": [
134            "./a/b/c/d/e/f/g/x86_64-cros-linux-gnu-gcc.real",
135            "--sysroot=/tmp/stable/a/b/usr/x86_64-cros-linux-gnu",
136            "-fno-reorder-blocks-and-partition",
137            "-Wno-unused-local-typedefs",
138            "-Wno-maybe-uninitialized",
139            "-fcommon",
140            "-fstack-protector-strong",
141            "-D_FORTIFY_SOURCE=2",
142            "-fno-omit-frame-pointer",
143            "-static-libgcc",
144            "main.cc",
145            "-L/tmp/stable/a/b/usr/x86_64-cros-linux-gnu/usr/lib64",
146            "-mno-movbe"
147          ],
148          "env_updates": [
149            "CCACHE_DIR=/var/cache/distfiles/ccache",
150            "CCACHE_UMASK=002"
151          ]
152        }
153      }
154    ]
155  },
156  {
157    "wd": "/tmp/stable",
158    "wrapper": {
159      "cmd": {
160        "path": "./symlinked/x86_64-cros-linux-gnu-gcc",
161        "args": [
162          "main.cc"
163        ]
164      }
165    },
166    "cmds": [
167      {
168        "cmd": {
169          "path": "/usr/bin/ccache",
170          "args": [
171            "./symlinked/x86_64-cros-linux-gnu-gcc.real",
172            "--sysroot=/tmp/stable/a/b/usr/x86_64-cros-linux-gnu",
173            "-fno-reorder-blocks-and-partition",
174            "-Wno-unused-local-typedefs",
175            "-Wno-maybe-uninitialized",
176            "-fcommon",
177            "-fstack-protector-strong",
178            "-D_FORTIFY_SOURCE=2",
179            "-fno-omit-frame-pointer",
180            "-static-libgcc",
181            "main.cc",
182            "-L/tmp/stable/a/b/usr/x86_64-cros-linux-gnu/usr/lib64",
183            "-mno-movbe"
184          ],
185          "env_updates": [
186            "CCACHE_DIR=/var/cache/distfiles/ccache",
187            "CCACHE_UMASK=002"
188          ]
189        }
190      }
191    ]
192  },
193  {
194    "wd": "/tmp/stable",
195    "env": [
196      "PATH=/tmp/stable/pathenv"
197    ],
198    "wrapper": {
199      "cmd": {
200        "path": "x86_64-cros-linux-gnu-gcc",
201        "args": [
202          "main.cc"
203        ]
204      }
205    },
206    "cmds": [
207      {
208        "cmd": {
209          "path": "/usr/bin/ccache",
210          "args": [
211            "/tmp/stable/pathenv/x86_64-cros-linux-gnu-gcc.real",
212            "--sysroot=/usr/x86_64-cros-linux-gnu",
213            "-fno-reorder-blocks-and-partition",
214            "-Wno-unused-local-typedefs",
215            "-Wno-maybe-uninitialized",
216            "-fcommon",
217            "-fstack-protector-strong",
218            "-D_FORTIFY_SOURCE=2",
219            "-fno-omit-frame-pointer",
220            "-static-libgcc",
221            "main.cc",
222            "-L/usr/x86_64-cros-linux-gnu/usr/lib64",
223            "-mno-movbe"
224          ],
225          "env_updates": [
226            "CCACHE_DIR=/var/cache/distfiles/ccache",
227            "CCACHE_UMASK=002"
228          ]
229        }
230      }
231    ]
232  }
233]
234