2018-06-28 21:43:08 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"ensure-directory",
|
|
|
|
"--mode",
|
|
|
|
"0777",
|
|
|
|
"[START_DIR]/tmp/OpenCL/vendors"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "mkdirs OpenCL/vendors"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"copy",
|
|
|
|
"[START_DIR]/opencl_intel_neo_linux/libigdrcl.so\n",
|
|
|
|
"[START_DIR]/tmp/OpenCL/vendors/neo.icd"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
|
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "write NEO OpenCL ICD"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"catchsegv",
|
|
|
|
"[START_DIR]/build/hello-opencl"
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"CHROME_HEADLESS": "1",
|
2018-09-11 21:09:28 +00:00
|
|
|
"LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux:[START_DIR]/opencl_ocl_icd_linux:[START_DIR]/opencl_intel_neo_linux",
|
|
|
|
"LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux",
|
2018-06-28 21:43:08 +00:00
|
|
|
"OPENCL_VENDOR_PATH": "[START_DIR]/tmp/OpenCL/vendors",
|
|
|
|
"PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]",
|
2018-09-11 21:09:28 +00:00
|
|
|
"VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
|
2018-06-28 21:43:08 +00:00
|
|
|
},
|
|
|
|
"name": "hello-opencl"
|
|
|
|
},
|
|
|
|
{
|
2018-10-30 22:22:37 +00:00
|
|
|
"jsonResult": null,
|
|
|
|
"name": "$result"
|
2018-06-28 21:43:08 +00:00
|
|
|
}
|
|
|
|
]
|