mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-25 16:29:03 +00:00
Add OpenCLCTS target and install component to CMake
This commit is contained in:
committed by
Kévin Petit
parent
b4e39211d7
commit
b67a5f3761
@@ -26,6 +26,8 @@ else()
|
|||||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CTS_EXTRA_FLAGS}")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CTS_EXTRA_FLAGS}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_custom_target(OpenCLCTS)
|
||||||
|
|
||||||
add_subdirectory(allocations)
|
add_subdirectory(allocations)
|
||||||
add_subdirectory(api)
|
add_subdirectory(api)
|
||||||
add_subdirectory(atomics)
|
add_subdirectory(atomics)
|
||||||
|
|||||||
@@ -29,5 +29,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_allocations
|
TARGET_LINK_LIBRARIES(conformance_test_allocations
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_allocations)
|
||||||
install(TARGETS conformance_test_allocations
|
install(TARGETS conformance_test_allocations
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -65,5 +65,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_api
|
TARGET_LINK_LIBRARIES(conformance_test_api
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_api)
|
||||||
install(TARGETS conformance_test_api
|
install(TARGETS conformance_test_api
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -27,5 +27,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_atomics
|
TARGET_LINK_LIBRARIES(conformance_test_atomics
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_atomics)
|
||||||
install(TARGETS conformance_test_atomics
|
install(TARGETS conformance_test_atomics
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -120,5 +120,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_basic
|
TARGET_LINK_LIBRARIES(conformance_test_basic
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_basic)
|
||||||
install(TARGETS conformance_test_basic
|
install(TARGETS conformance_test_basic
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -30,5 +30,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_buffers
|
TARGET_LINK_LIBRARIES(conformance_test_buffers
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_buffers)
|
||||||
install(TARGETS conformance_test_buffers
|
install(TARGETS conformance_test_buffers
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -31,5 +31,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_commonfns
|
TARGET_LINK_LIBRARIES(conformance_test_commonfns
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_commonfns)
|
||||||
install(TARGETS conformance_test_commonfns
|
install(TARGETS conformance_test_commonfns
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -48,11 +48,15 @@ add_custom_command(TARGET conformance_test_compiler POST_BUILD
|
|||||||
"${CMAKE_CURRENT_SOURCE_DIR}/secondIncludeTestDirectory"
|
"${CMAKE_CURRENT_SOURCE_DIR}/secondIncludeTestDirectory"
|
||||||
"$<TARGET_FILE_DIR:conformance_test_compiler>/secondIncludeTestDirectory")
|
"$<TARGET_FILE_DIR:conformance_test_compiler>/secondIncludeTestDirectory")
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_compiler)
|
||||||
install(TARGETS conformance_test_compiler
|
install(TARGETS conformance_test_compiler
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/includeTestDirectory
|
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/includeTestDirectory
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|
||||||
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/secondIncludeTestDirectory
|
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/secondIncludeTestDirectory
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -13,5 +13,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_computeinfo
|
TARGET_LINK_LIBRARIES(conformance_test_computeinfo
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_computeinfo)
|
||||||
install(TARGETS conformance_test_computeinfo
|
install(TARGETS conformance_test_computeinfo
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -30,5 +30,7 @@ endif(WIN32)
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_contractions
|
TARGET_LINK_LIBRARIES(conformance_test_contractions
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_contractions)
|
||||||
install(TARGETS conformance_test_contractions
|
install(TARGETS conformance_test_contractions
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -64,5 +64,7 @@ endif()
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_conversions
|
TARGET_LINK_LIBRARIES(conformance_test_conversions
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_conversions)
|
||||||
install(TARGETS conformance_test_conversions
|
install(TARGETS conformance_test_conversions
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -43,4 +43,9 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_d3d10
|
TARGET_LINK_LIBRARIES(conformance_test_d3d10
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_d3d10)
|
||||||
|
install(TARGETS conformance_test_d3d10
|
||||||
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|||||||
@@ -43,4 +43,9 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_d3d11
|
TARGET_LINK_LIBRARIES(conformance_test_d3d11
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_d3d11)
|
||||||
|
install(TARGETS conformance_test_d3d11
|
||||||
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|
||||||
endif(WIN32)
|
endif(WIN32)
|
||||||
|
|||||||
@@ -29,5 +29,7 @@ set_source_files_properties(
|
|||||||
target_link_libraries(conformance_test_device_partition
|
target_link_libraries(conformance_test_device_partition
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_device_partition)
|
||||||
install(TARGETS conformance_test_device_partition
|
install(TARGETS conformance_test_device_partition
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -43,5 +43,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_events
|
TARGET_LINK_LIBRARIES(conformance_test_events
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_events)
|
||||||
install(TARGETS conformance_test_events
|
install(TARGETS conformance_test_events
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -30,5 +30,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_geometrics
|
TARGET_LINK_LIBRARIES(conformance_test_geometrics
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_geometrics)
|
||||||
install(TARGETS conformance_test_geometrics
|
install(TARGETS conformance_test_geometrics
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -65,3 +65,8 @@ set_source_files_properties(
|
|||||||
|
|
||||||
TARGET_LINK_LIBRARIES(conformance_test_gl
|
TARGET_LINK_LIBRARIES(conformance_test_gl
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_gl)
|
||||||
|
install(TARGETS conformance_test_gl
|
||||||
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -17,5 +17,7 @@ endif(MSVC)
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_half
|
TARGET_LINK_LIBRARIES(conformance_test_half
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_half)
|
||||||
install(TARGETS conformance_test_half
|
install(TARGETS conformance_test_half
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -68,9 +68,15 @@ TARGET_LINK_LIBRARIES(conformance_test_cl_gl_h_c99
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_opencl_h_c99
|
TARGET_LINK_LIBRARIES(conformance_test_opencl_h_c99
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_headers conformance_test_cl_h
|
||||||
|
conformance_test_cl_platform_h conformance_test_cl_gl_h
|
||||||
|
conformance_test_opencl_h conformance_test_cl_h_c99
|
||||||
|
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
|
||||||
|
conformance_test_opencl_h_c99)
|
||||||
install(TARGETS conformance_test_headers conformance_test_cl_h
|
install(TARGETS conformance_test_headers conformance_test_cl_h
|
||||||
conformance_test_cl_platform_h conformance_test_cl_gl_h
|
conformance_test_cl_platform_h conformance_test_cl_gl_h
|
||||||
conformance_test_opencl_h conformance_test_cl_h_c99
|
conformance_test_opencl_h conformance_test_cl_h_c99
|
||||||
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
|
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
|
||||||
conformance_test_opencl_h_c99
|
conformance_test_opencl_h_c99
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -48,5 +48,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_cl_copy_images
|
TARGET_LINK_LIBRARIES(conformance_test_cl_copy_images
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_cl_copy_images)
|
||||||
install(TARGETS conformance_test_cl_copy_images
|
install(TARGETS conformance_test_cl_copy_images
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -42,5 +42,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_cl_fill_images
|
TARGET_LINK_LIBRARIES(conformance_test_cl_fill_images
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_cl_fill_images)
|
||||||
install(TARGETS conformance_test_cl_fill_images
|
install(TARGETS conformance_test_cl_fill_images
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -39,5 +39,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_cl_get_info
|
TARGET_LINK_LIBRARIES(conformance_test_cl_get_info
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_cl_get_info)
|
||||||
install(TARGETS conformance_test_cl_get_info
|
install(TARGETS conformance_test_cl_get_info
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -41,5 +41,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_cl_read_write_images
|
TARGET_LINK_LIBRARIES(conformance_test_cl_read_write_images
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_cl_read_write_images)
|
||||||
install(TARGETS conformance_test_cl_read_write_images
|
install(TARGETS conformance_test_cl_read_write_images
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -41,5 +41,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_kernel_image_methods
|
TARGET_LINK_LIBRARIES(conformance_test_kernel_image_methods
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_kernel_image_methods)
|
||||||
install(TARGETS conformance_test_kernel_image_methods
|
install(TARGETS conformance_test_kernel_image_methods
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -51,5 +51,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_image_streams
|
TARGET_LINK_LIBRARIES(conformance_test_image_streams
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_image_streams)
|
||||||
install(TARGETS conformance_test_image_streams
|
install(TARGETS conformance_test_image_streams
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -43,5 +43,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_samplerless_reads
|
TARGET_LINK_LIBRARIES(conformance_test_samplerless_reads
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_samplerless_reads)
|
||||||
install(TARGETS conformance_test_samplerless_reads
|
install(TARGETS conformance_test_samplerless_reads
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -67,5 +67,7 @@ endif (NOT CMAKE_CL_64 AND NOT MSVC)
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_integer_ops
|
TARGET_LINK_LIBRARIES(conformance_test_integer_ops
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_integer_ops)
|
||||||
install(TARGETS conformance_test_integer_ops
|
install(TARGETS conformance_test_integer_ops
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -72,5 +72,7 @@ endif(NOT CMAKE_CL_64 AND NOT MSVC)
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_bruteforce
|
TARGET_LINK_LIBRARIES(conformance_test_bruteforce
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_bruteforce)
|
||||||
install(TARGETS conformance_test_bruteforce
|
install(TARGETS conformance_test_bruteforce
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -33,5 +33,7 @@ set_source_files_properties(
|
|||||||
target_link_libraries(conformance_test_mem_host_flags
|
target_link_libraries(conformance_test_mem_host_flags
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_mem_host_flags)
|
||||||
install(TARGETS conformance_test_mem_host_flags
|
install(TARGETS conformance_test_mem_host_flags
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -32,5 +32,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_multiples
|
TARGET_LINK_LIBRARIES(conformance_test_multiples
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_multiples)
|
||||||
install(TARGETS conformance_test_multiples
|
install(TARGETS conformance_test_multiples
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -19,5 +19,7 @@ set_source_files_properties(
|
|||||||
target_link_libraries(conformance_test_printf
|
target_link_libraries(conformance_test_printf
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_printf)
|
||||||
install(TARGETS conformance_test_printf
|
install(TARGETS conformance_test_printf
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -29,5 +29,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_profiling
|
TARGET_LINK_LIBRARIES(conformance_test_profiling
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_profiling)
|
||||||
install(TARGETS conformance_test_profiling
|
install(TARGETS conformance_test_profiling
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -35,5 +35,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_relationals
|
TARGET_LINK_LIBRARIES(conformance_test_relationals
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_relationals)
|
||||||
install(TARGETS conformance_test_relationals
|
install(TARGETS conformance_test_relationals
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -25,5 +25,7 @@ endif(WIN32)
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_select
|
TARGET_LINK_LIBRARIES(conformance_test_select
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_select)
|
||||||
install(TARGETS conformance_test_select
|
install(TARGETS conformance_test_select
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
function (install_spir_artifacts suite_name)
|
function (install_spir_artifacts suite_name)
|
||||||
install(FILES "${suite_name}.zip" DESTINATION "${CLConf_OUT_DIR}")
|
install(FILES "${suite_name}.zip" DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
add_executable(
|
add_executable(
|
||||||
@@ -60,8 +61,10 @@ add_custom_command(TARGET conformance_test_spir POST_BUILD
|
|||||||
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/vec_step.zip" "$<TARGET_FILE_DIR:conformance_test_spir>/vec_step.zip"
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/vec_step.zip" "$<TARGET_FILE_DIR:conformance_test_spir>/vec_step.zip"
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/binary_type.zip" "$<TARGET_FILE_DIR:conformance_test_spir>/binary_type.zip")
|
COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/binary_type.zip" "$<TARGET_FILE_DIR:conformance_test_spir>/binary_type.zip")
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_spir)
|
||||||
install(TARGETS conformance_test_spir
|
install(TARGETS conformance_test_spir
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|
||||||
install_spir_artifacts(api)
|
install_spir_artifacts(api)
|
||||||
install_spir_artifacts(atomics)
|
install_spir_artifacts(atomics)
|
||||||
@@ -86,6 +89,6 @@ install_spir_artifacts(sampler_enumeration)
|
|||||||
install_spir_artifacts(vec_align)
|
install_spir_artifacts(vec_align)
|
||||||
install_spir_artifacts(vec_step)
|
install_spir_artifacts(vec_step)
|
||||||
install_spir_artifacts(binary_type)
|
install_spir_artifacts(binary_type)
|
||||||
install(FILES "khr.csv" DESTINATION "${CLConf_OUT_DIR}")
|
install(FILES "khr.csv" DESTINATION "${CLConf_OUT_DIR}" COMPONENT OpenCLCTS)
|
||||||
#Add any other runtime directories you need here.
|
#Add any other runtime directories you need here.
|
||||||
# end of file #
|
# end of file #
|
||||||
|
|||||||
@@ -30,5 +30,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_thread_dimensions
|
TARGET_LINK_LIBRARIES(conformance_test_thread_dimensions
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_thread_dimensions)
|
||||||
install(TARGETS conformance_test_thread_dimensions
|
install(TARGETS conformance_test_thread_dimensions
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -33,5 +33,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_vecalign
|
TARGET_LINK_LIBRARIES(conformance_test_vecalign
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_vecalign)
|
||||||
install(TARGETS conformance_test_vecalign
|
install(TARGETS conformance_test_vecalign
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
@@ -31,5 +31,7 @@ set_source_files_properties(
|
|||||||
TARGET_LINK_LIBRARIES(conformance_test_vecstep
|
TARGET_LINK_LIBRARIES(conformance_test_vecstep
|
||||||
${CLConform_LIBRARIES})
|
${CLConform_LIBRARIES})
|
||||||
|
|
||||||
|
add_dependencies(OpenCLCTS conformance_test_vecstep)
|
||||||
install(TARGETS conformance_test_vecstep
|
install(TARGETS conformance_test_vecstep
|
||||||
DESTINATION "${CLConf_OUT_DIR}")
|
DESTINATION "${CLConf_OUT_DIR}"
|
||||||
|
COMPONENT OpenCLCTS)
|
||||||
|
|||||||
Reference in New Issue
Block a user