Make building the Vulkan interop tests optional (#1530)
Some checks failed
Presubmit / Build ubuntu-20.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-20.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-20.04 arm (push) Failing after 1s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Some checks failed
Presubmit / Build ubuntu-20.04 gl (push) Failing after 2s
Presubmit / Build ubuntu-20.04 aarch64 debug (push) Failing after 1s
Presubmit / Build ubuntu-20.04 arm (push) Failing after 1s
Presubmit / Check code format (push) Failing after 5m1s
Presubmit / Build macos-latest (push) Has been cancelled
Presubmit / Build windows-latest (push) Has been cancelled
Allow enabling/disabling building of the Vulkan interop tests via CMake option without modifying the CMake. This matches the optionality of the D3D10, D3D11, GL, and GLES interop tests.
This commit is contained in:
parent
90a5183ec4
commit
babed4c175
2 changed files with 4 additions and 1 deletions
|
|
@ -30,6 +30,7 @@ option(D3D10_IS_SUPPORTED "Run DirectX 10 interop tests" OFF)
|
|||
option(D3D11_IS_SUPPORTED "Run DirectX 11 interop tests" OFF)
|
||||
option(GL_IS_SUPPORTED "Run OpenGL interop tests" OFF)
|
||||
option(GLES_IS_SUPPORTED "Run OpenGL ES interop tests" OFF)
|
||||
option(VULKAN_IS_SUPPORTED "Run Vulkan interop tests" OFF)
|
||||
|
||||
|
||||
#-----------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -52,7 +52,9 @@ add_subdirectory( pipes )
|
|||
add_subdirectory( device_timer )
|
||||
add_subdirectory( spirv_new )
|
||||
add_subdirectory( spir )
|
||||
add_subdirectory( vulkan )
|
||||
if(VULKAN_IS_SUPPORTED)
|
||||
add_subdirectory( vulkan )
|
||||
endif()
|
||||
|
||||
file(GLOB CSV_FILES "opencl_conformance_tests_*.csv")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue