projects
/
pocl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfb0f91
)
[PATCH 100/144] link libpocl-devices-pthread.so with -pthread
author
Andreas Beckmann
<anbe@debian.org>
Wed, 24 Nov 2021 14:06:54 +0000
(15:06 +0100)
committer
Andreas Beckmann
<anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000
(23:55 +0000)
Gbp-Pq: Name 0100-link-libpocl-devices-pthread.so-with-pthread.patch
lib/CL/devices/pthread/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/lib/CL/devices/pthread/CMakeLists.txt
b/lib/CL/devices/pthread/CMakeLists.txt
index 4b99fc895059397e218d9f69252b19f5827c0fd5..d8b1b0e25790cc6119c5e7b7de29ba96d4276a1e 100644
(file)
--- a/
lib/CL/devices/pthread/CMakeLists.txt
+++ b/
lib/CL/devices/pthread/CMakeLists.txt
@@
-28,5
+28,5
@@
if(MSVC)
endif(MSVC)
add_pocl_device_library(pocl-devices-pthread pocl-pthread.h pthread.c pthread_scheduler.c pthread_utils.c)
if(ENABLE_LOADABLE_DRIVERS)
-target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic)
+target_link_libraries(pocl-devices-pthread PRIVATE pocl-devices-basic
${PTHREAD_LIBRARY}
)
endif()