2462788755
Bug: skia:9438 Change-Id: Ibea28d454bcc1c44dfb9ab82a2a8216342f3b8a7 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/281878 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Weston Tracey <westont@google.com>
61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"vpython",
|
|
"-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_REPO[depot_tools]"
|
|
},
|
|
"infra_step": true,
|
|
"name": "mkdirs OpenCL/vendors"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython",
|
|
"-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_REPO[depot_tools]"
|
|
},
|
|
"infra_step": true,
|
|
"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@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"catchsegv",
|
|
"[START_DIR]/build/hello-opencl"
|
|
],
|
|
"env": {
|
|
"CHROME_HEADLESS": "1",
|
|
"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",
|
|
"OPENCL_VENDOR_PATH": "[START_DIR]/tmp/OpenCL/vendors",
|
|
"PATH": "<PATH>:RECIPE_REPO[depot_tools]",
|
|
"VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json"
|
|
},
|
|
"name": "hello-opencl"
|
|
},
|
|
{
|
|
"name": "$result"
|
|
}
|
|
] |