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