1[
2  {
3    "cmd": [
4      "vpython",
5      "-u",
6      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7      "--json-output",
8      "/path/to/tmp/json",
9      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp/OpenCL/vendors"
13    ],
14    "env": {
15      "CHROME_HEADLESS": "1",
16      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
17    },
18    "infra_step": true,
19    "name": "mkdirs OpenCL/vendors"
20  },
21  {
22    "cmd": [
23      "vpython",
24      "-u",
25      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
26      "--json-output",
27      "/path/to/tmp/json",
28      "copy",
29      "[START_DIR]/opencl_intel_neo_linux/libigdrcl.so\n",
30      "[START_DIR]/tmp/OpenCL/vendors/neo.icd"
31    ],
32    "env": {
33      "CHROME_HEADLESS": "1",
34      "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
35    },
36    "infra_step": true,
37    "name": "write NEO OpenCL ICD",
38    "~followup_annotations": [
39      "@@@STEP_LOG_LINE@neo.icd@[START_DIR]/opencl_intel_neo_linux/libigdrcl.so@@@",
40      "@@@STEP_LOG_END@neo.icd@@@"
41    ]
42  },
43  {
44    "cmd": [
45      "catchsegv",
46      "[START_DIR]/build/hello-opencl"
47    ],
48    "env": {
49      "CHROME_HEADLESS": "1",
50      "LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux:[START_DIR]/opencl_ocl_icd_linux:[START_DIR]/opencl_intel_neo_linux",
51      "LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux",
52      "OPENCL_VENDOR_PATH": "[START_DIR]/tmp/OpenCL/vendors",
53      "PATH": "<PATH>:RECIPE_REPO[depot_tools]",
54      "VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
55    },
56    "name": "hello-opencl"
57  },
58  {
59    "name": "$result"
60  }
61]