File tree Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Expand file tree Collapse file tree 2 files changed +7
-18
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ endif()
125
125
126
126
# Check if a specific version of DPCPP is requested.
127
127
if (IntelSycl_FIND_VERSION AND (DEFINED IntelSycl_VERSION ))
128
- string (COMPARE EQUAL ${IntelSycl_FIND_VERSION} ${IntelSycl_VERSION} VERSION_MATCH )
128
+ string (COMPARE LESS_EQUAL ${IntelSycl_FIND_VERSION} ${IntelSycl_VERSION} VERSION_MATCH )
129
129
if (VERSION_MATCH )
130
130
set (IntelSycl_FOUND TRUE )
131
131
endif ()
Original file line number Diff line number Diff line change @@ -49,23 +49,12 @@ if(DPCTL_GENERATE_COVERAGE)
49
49
${dpctl_sources}
50
50
${helper_sources}
51
51
)
52
- if (DEFINED ${DPCTL_ENABLE_LO_PROGRAM_CREATION} )
53
- target_link_libraries (dpctl_c_api_tests
54
- ${CMAKE_THREAD_LIBS_INIT}
55
- GTest::GTest
56
- ${LEVEL_ZERO_LIBRARY}
57
- ${IntelSycl_OPENCL_LIBRARY}
58
- ${CMAKE_DL_LIBS}
59
- )
60
- else ()
61
- target_link_libraries (dpctl_c_api_tests
62
- ${CMAKE_THREAD_LIBS_INIT}
63
- GTest::GTest
64
- ${IntelSycl_OPENCL_LIBRARY}
65
- ${CMAKE_DL_LIBS}
66
- )
67
- endif ()
68
-
52
+ target_link_libraries (dpctl_c_api_tests
53
+ ${CMAKE_THREAD_LIBS_INIT}
54
+ GTest::GTest
55
+ ${IntelSycl_OPENCL_LIBRARY}
56
+ ${CMAKE_DL_LIBS}
57
+ )
69
58
add_custom_target (llvm-cov
70
59
COMMAND ${CMAKE_MAKE_PROGRAM} dpctl_c_api_tests
71
60
COMMAND ${CMAKE_CURRENT_BINARY_DIR} /dpctl_c_api_tests
You can’t perform that action at this time.
0 commit comments