aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/gen_tasks.go
diff options
context:
space:
mode:
authorGravatar Ben Wagner <benjaminwagner@google.com>2018-06-28 20:41:04 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-29 13:06:57 +0000
commit55a7d22beb635ac960b16858b0ffe67424402950 (patch)
tree4313247b900b3e1c36cbfddc108e9c0468151e78 /infra/bots/gen_tasks.go
parenteb8f8106f38ccd975f8b513cb1272f48c5362f74 (diff)
Add OpenCL build.
Bug: skia:8081 Change-Id: I8b2a88cc25970398511aa078d456ca8a1182792b Reviewed-on: https://skia-review.googlesource.com/136594 Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Ben Wagner <benjaminwagner@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'infra/bots/gen_tasks.go')
-rw-r--r--infra/bots/gen_tasks.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/infra/bots/gen_tasks.go b/infra/bots/gen_tasks.go
index 0122603633..dafd403720 100644
--- a/infra/bots/gen_tasks.go
+++ b/infra/bots/gen_tasks.go
@@ -803,6 +803,12 @@ func compile(b *specs.TasksCfgBuilder, name string, parts map[string]string) str
if strings.Contains(name, "SwiftShader") {
task.CipdPackages = append(task.CipdPackages, b.MustGetCipdPackageFromAsset("cmake_linux"))
}
+ if strings.Contains(name, "OpenCL") {
+ task.CipdPackages = append(task.CipdPackages,
+ b.MustGetCipdPackageFromAsset("opencl_headers"),
+ b.MustGetCipdPackageFromAsset("opencl_ocl_icd_linux"),
+ )
+ }
} else if strings.Contains(name, "Win") {
task.Dependencies = append(task.Dependencies, isolateCIPDAsset(b, ISOLATE_WIN_TOOLCHAIN_NAME))
if strings.Contains(name, "Clang") {