1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 11:19:50 +03:00
aports/testing/intel-compute-runtime/link-execinfo.patch
Dennis Krupenik 41a63b1a96 testing/intel-compute-runtime: new aport
Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver
https://github.com/intel/compute-runtime
2020-08-31 01:13:34 +00: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