Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
add execinfo library
---
--- a/opencl/test/unit_test/offline_compiler/CMakeLists.txt
+++ b/opencl/test/unit_test/offline_compiler/CMakeLists.txt
@@ -87,7 +87,7 @@
)
target_compile_definitions(ocloc_tests PUBLIC MOCKABLE_VIRTUAL=virtual $<TARGET_PROPERTY:ocloc_lib,INTERFACE_COMPILE_DEFINITIONS>)
-target_link_libraries(ocloc_tests gmock-gtest)
+target_link_libraries(ocloc_tests gmock-gtest execinfo)
if(WIN32)
target_link_libraries(ocloc_tests dbghelp)
--- a/opencl/test/unit_test/offline_compiler/segfault_test/CMakeLists.txt
+++ b/opencl/test/unit_test/offline_compiler/segfault_test/CMakeLists.txt
@@ -38,7 +38,7 @@
target_link_libraries(ocloc_segfault_test dbghelp)
endif()
if(UNIX)
- target_link_libraries(ocloc_segfault_test dl pthread)
+ target_link_libraries(ocloc_segfault_test dl pthread execinfo)
endif()
set(CLOC_SEGFAULT_TEST_INCLUDES
--- a/shared/offline_compiler/source/CMakeLists.txt
+++ b/shared/offline_compiler/source/CMakeLists.txt
@@ -139,7 +139,7 @@
endif()
if(UNIX)
- target_link_libraries(${OCLOC_NAME}_lib dl pthread)
+ target_link_libraries(${OCLOC_NAME}_lib dl pthread execinfo)
endif()
set(CLOC_LIB_SRCS_LIB ${CLOC_LIB_SRCS_LIB} PARENT_SCOPE)
--- a/opencl/source/CMakeLists.txt
+++ b/opencl/source/CMakeLists.txt
@@ -81,7 +81,7 @@
)
target_compile_definitions(${NEO_STATIC_LIB_NAME} PRIVATE OGL=1)
else()
- set(IGDRCL_EXTRA_LIBS dl pthread)
+ set(IGDRCL_EXTRA_LIBS dl pthread execinfo igc)
target_include_directories(${NEO_STATIC_LIB_NAME} PUBLIC
${NEO_SHARED_DIRECTORY}/os_interface/linux
${NEO_SOURCE_DIR}/opencl/source/os_interface/linux