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