1[
2  {
3    "cmd": [
4      "python",
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_PACKAGE_REPO[depot_tools]"
17    },
18    "infra_step": true,
19    "name": "mkdirs OpenCL/vendors"
20  },
21  {
22    "cmd": [
23      "python",
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_PACKAGE_REPO[depot_tools]"
35    },
36    "infra_step": true,
37    "name": "write NEO OpenCL ICD"
38  },
39  {
40    "cmd": [
41      "catchsegv",
42      "[START_DIR]/build/hello-opencl"
43    ],
44    "env": {
45      "CHROME_HEADLESS": "1",
46      "LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux:[START_DIR]/opencl_ocl_icd_linux:[START_DIR]/opencl_intel_neo_linux",
47      "LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux",
48      "OPENCL_VENDOR_PATH": "[START_DIR]/tmp/OpenCL/vendors",
49      "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
50      "VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
51    },
52    "name": "hello-opencl"
53  },
54  {
55    "jsonResult": null,
56    "name": "$result"
57  }
58]