mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
22 lines
755 B
Plaintext
22 lines
755 B
Plaintext
# Set the prefix and suffix for the generated executables
|
|
# For example, if you want the api executable to be test_conformance_api_12
|
|
# Set previx to "test_conformance_" and suffix to "_12"
|
|
set(CONFORMANCE_PREFIX "test_conformance_" )
|
|
set(CONFORMNACE_SUFFIX "" )
|
|
|
|
# Include cmake files to build driver
|
|
# to build driver as a dependency of tests
|
|
# in this example environment variable $OPENCL_DRIVER points to driver base
|
|
# Ex include($ENV{OPENCL_DRIVER}/driver.cmake)
|
|
|
|
# We intentionally hardcode "_win32" to ensure backwards compatibility (to avoid breaking HAAVE)
|
|
if(ANDROID)
|
|
if(ARM64_V8A)
|
|
set(ARCH "64")
|
|
else(ARM64_V8A)
|
|
set(ARCH "32")
|
|
endif(ARM64_V8A)
|
|
endif (ANDROID)
|
|
|
|
set (CL_INCLUDE_DIR "$ENV{OPENCL_DRIVER}/include/public/")
|