From cdd6d84f1272270f6fd095e85080a1ebb64c978b Mon Sep 17 00:00:00 2001 From: Artur Harasimiuk Date: Thu, 21 Apr 2022 00:26:40 +0200 Subject: [PATCH] build: on x86 build and run ocloc test by defaul Signed-off-by: Artur Harasimiuk --- opencl/test/unit_test/offline_compiler/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencl/test/unit_test/offline_compiler/CMakeLists.txt b/opencl/test/unit_test/offline_compiler/CMakeLists.txt index 67979a8fe8..eb5be0f1da 100644 --- a/opencl/test/unit_test/offline_compiler/CMakeLists.txt +++ b/opencl/test/unit_test/offline_compiler/CMakeLists.txt @@ -136,7 +136,7 @@ string(TOLOWER ${DEFAULT_TESTED_PLATFORM} CLOC_LIB_DEFAULT_DEVICE) add_custom_target(run_ocloc_tests ALL DEPENDS ocloc_tests ) -if(NOT NEO_DISABLE_BUILTINS_COMPILATION) +if(${NEO_TARGET_PROCESSOR} STREQUAL "x86_64") add_dependencies(run_unit_tests run_ocloc_tests) add_dependencies(unit_tests ocloc_tests) endif()