Add Linux nVidia Vulkan jobs.
Change-Id: Ib323136e4c6f660923433a2508e1e0965712d698
Reviewed-on: https://skia-review.googlesource.com/53460
Commit-Queue: Ben Wagner <benjaminwagner@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
diff --git a/infra/bots/recipes/test.py b/infra/bots/recipes/test.py
index fe7e496..5a88318 100644
--- a/infra/bots/recipes/test.py
+++ b/infra/bots/recipes/test.py
@@ -810,30 +810,6 @@
args.extend(dm_flags(api, api.vars.builder_name))
- env = {}
- if 'Ubuntu16' in api.vars.builder_name:
- # The vulkan in this asset name simply means that the graphics driver
- # supports Vulkan. It is also the driver used for GL code.
- dri_path = api.vars.slave_dir.join('linux_vulkan_intel_driver_release')
- if 'Debug' in api.vars.builder_name:
- dri_path = api.vars.slave_dir.join('linux_vulkan_intel_driver_debug')
-
- if 'Vulkan' in api.vars.builder_name:
- sdk_path = api.vars.slave_dir.join('linux_vulkan_sdk', 'bin')
- lib_path = api.vars.slave_dir.join('linux_vulkan_sdk', 'lib')
- env.update({
- 'PATH':'%%(PATH)s:%s' % sdk_path,
- 'LD_LIBRARY_PATH': '%s:%s' % (lib_path, dri_path),
- 'LIBGL_DRIVERS_PATH': dri_path,
- 'VK_ICD_FILENAMES':'%s' % dri_path.join('intel_icd.x86_64.json'),
- })
- else:
- # Even the non-vulkan NUC jobs could benefit from the newer drivers.
- env.update({
- 'LD_LIBRARY_PATH': dri_path,
- 'LIBGL_DRIVERS_PATH': dri_path,
- })
-
# See skia:2789.
extra_config_parts = api.vars.builder_cfg.get('extra_config', '').split('_')
if 'AbandonGpuContext' in extra_config_parts:
@@ -843,8 +819,7 @@
if 'ReleaseAndAbandonGpuContext' in extra_config_parts:
args.append('--releaseAndAbandonGpuContext')
- with api.env(env):
- api.run(api.flavor.step, 'dm', cmd=args, abort_on_failure=False)
+ api.run(api.flavor.step, 'dm', cmd=args, abort_on_failure=False)
if api.vars.upload_dm_results:
# Copy images and JSON to host machine if needed.
@@ -902,7 +877,6 @@
'Test-Mac-Clang-MacMini7.1-GPU-IntelIris5100-x86_64-Debug-CommandBuffer',
'Test-Ubuntu16-Clang-NUC5PPYH-GPU-IntelHD405-x86_64-Debug',
'Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Debug-Vulkan',
- 'Test-Ubuntu16-Clang-NUC6i5SYK-GPU-IntelIris540-x86_64-Release',
'Test-Ubuntu16-Clang-NUCDE3815TYKHE-GPU-IntelBayTrail-x86_64-Debug',
('Test-Ubuntu17-GCC-Golo-GPU-QuadroP400-x86_64-Release'
'-Valgrind_AbandonGpuContext_SK_CPU_LIMIT_SSE41'),