1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/unmaintained/intel-compute-runtime/link-execinfo.patch
psykose 1ec88109e2
unmaintained/intel-compute-runtime: move from testing
does not build, not installable for 6 months, not updated for a year

see: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/35445
2022-08-01 03:25:20 +02:00

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