2018-06-28 21:43:08 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-06-28 21:43:08 +00:00
|
|
|
"-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",
|
2019-02-16 22:10:41 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
2018-06-28 21:43:08 +00:00
|
|
|
},
|
|
|
|
"infra_step": true,
|
|
|
|
"name": "mkdirs OpenCL/vendors"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2019-09-09 22:36:05 +00:00
|
|
|
"vpython",
|
2018-06-28 21:43:08 +00:00
|
|
|
"-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",
|
2019-02-16 22:10:41 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
|
2018-06-28 21:43:08 +00:00
|
|
|
},
|
|
|
|
"infra_step": true,
|
2019-06-25 11:15:57 +00:00
|
|
|
"name": "write NEO OpenCL ICD",
|
|
|
|
"~followup_annotations": [
|
|
|
|
"@@@STEP_LOG_LINE@neo.icd@[START_DIR]/opencl_intel_neo_linux/libigdrcl.so@@@",
|
|
|
|
"@@@STEP_LOG_END@neo.icd@@@"
|
|
|
|
]
|
2018-06-28 21:43:08 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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",
|
2019-02-16 22:10:41 +00:00
|
|
|
"PATH": "<PATH>:RECIPE_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
|
|
|
"name": "$result"
|
2018-06-28 21:43:08 +00:00
|
|
|
}
|
|
|
|
]
|