mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 11:19:50 +03:00
Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver https://github.com/intel/compute-runtime
50 lines
1.6 KiB
Diff
50 lines
1.6 KiB
Diff
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
|
|
|