File: unset-opencl_libraries-so-it-doesnt-get-

package info (click to toggle)
armnn 23.08-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 53,580 kB
  • sloc: cpp: 337,440; python: 4,755; sh: 1,708; makefile: 42; asm: 15; xml: 6
file content (24 lines) | stat: -rw-r--r-- 836 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Francis Murtagh <francis.murtagh@arm.com>
Date: Tue, 1 Aug 2023 21:39:26 +0200
Subject: Unset OPENCL_LIBRARIES so it doesn't get linked at build time

X-Dgit-Generated: 20.08-1 4b4c9e7a80b63a12b4009e637aef11580d803ca3

Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
---
 cmake/GlobalConfig.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/GlobalConfig.cmake b/cmake/GlobalConfig.cmake
index 446dc3b..46245d1 100644
--- a/cmake/GlobalConfig.cmake
+++ b/cmake/GlobalConfig.cmake
@@ -386,7 +386,7 @@ if(ARMCOMPUTECL)
 
     # Link against libOpenCL in opencl-1.2-stubs, but don't search there at runtime
     link_libraries(-L${ARMCOMPUTE_BUILD_DIR}/opencl-1.2-stubs)
-    set(OPENCL_LIBRARIES OpenCL)
+    #set(OPENCL_LIBRARIES OpenCL)
 
     include_directories(SYSTEM ${OPENCL_INCLUDE})