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

package info (click to toggle)
armnn 20.08-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 20,636 kB
  • sloc: cpp: 211,563; python: 2,756; sh: 285; makefile: 38; asm: 6
file content (18 lines) | stat: -rw-r--r-- 655 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Unset OPENCL_LIBRARIES so it doesn't get linked at build time
 Signed-off-by: Francis Murtagh <francis.murtagh@arm.com>
Author: Francis Murtagh <francis.murtagh@arm.com>
X-Dgit-Generated: 20.08-1 4b4c9e7a80b63a12b4009e637aef11580d803ca3

---

--- armnn-20.08.orig/cmake/GlobalConfig.cmake
+++ armnn-20.08/cmake/GlobalConfig.cmake
@@ -331,7 +331,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})