all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
blob 96f15d782671d57041be5854ffafbfd50859c111 1537 bytes (raw)
name: gnu/packages/patches/beignet-correct-paths.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
 
From 0ba525465782ec3fd6484b7483941344f293d3ab Mon Sep 17 00:00:00 2001
From: fis <ybbs.daans@hotmail.com>
Date: Sun, 8 Apr 2018 02:14:44 +0800
Subject: [PATCH] Correct paths.

* CMake/FindLLVM.cmake (CLANG_LIBRARY_DIR): New vairable.
* CMakelists: Let cmake figure out where to install icd file.
---
 CMake/FindLLVM.cmake | 2 +-
 CMakeLists.txt       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/CMake/FindLLVM.cmake b/CMake/FindLLVM.cmake
index 5457f248..e8e8f94a 100644
--- a/CMake/FindLLVM.cmake
+++ b/CMake/FindLLVM.cmake
@@ -107,7 +107,7 @@ endif (LLVM_VERSION_NODOT VERSION_GREATER 34)
 macro(add_one_lib name)
   FIND_LIBRARY(CLANG_LIB
     NAMES ${name}
-    PATHS ${LLVM_LIBRARY_DIR} NO_DEFAULT_PATH)
+    PATHS ${CLANG_LIBRARY_DIR} NO_DEFAULT_PATH)
   set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_LIB})
 	unset(CLANG_LIB CACHE)
 endmacro()
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c11acbb2..fb99e5c8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -217,7 +217,7 @@ IF(OCLIcd_FOUND)
     "intel-beignet.icd.in"
     "${ICD_FILE_NAME}"
   )
-  install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
+  install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION etc/OpenCL/vendors COMPONENT config)
 ELSE(OCLIcd_FOUND)
   MESSAGE(STATUS "Looking for OCL ICD header file - not found")
   MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.")
--
2.14.3


debug log:

solving 0435f9503 ...
found 0435f9503 in https://yhetil.org/guix/SN1PR16MB051193DD65457EAA67E270A192490@SN1PR16MB0511.namprd16.prod.outlook.com/ ||
	https://yhetil.org/guix/BLUPR16MB0500424EED6A99CD748746EE929E0@BLUPR16MB0500.namprd16.prod.outlook.com/

applying [1/1] https://yhetil.org/guix/SN1PR16MB051193DD65457EAA67E270A192490@SN1PR16MB0511.namprd16.prod.outlook.com/
diff --git a/gnu/packages/patches/beignet-correct-paths.patch b/gnu/packages/patches/beignet-correct-paths.patch
new file mode 100644
index 000000000..0435f9503

1:30: space before tab in indent.
 	unset(CLANG_LIB CACHE)
Checking patch gnu/packages/patches/beignet-correct-paths.patch...
1:47: new blank line at EOF.
+
Applied patch gnu/packages/patches/beignet-correct-paths.patch cleanly.
warning: 2 lines add whitespace errors.

skipping https://yhetil.org/guix/BLUPR16MB0500424EED6A99CD748746EE929E0@BLUPR16MB0500.namprd16.prod.outlook.com/ for 0435f9503
index at:
100644 96f15d782671d57041be5854ffafbfd50859c111	gnu/packages/patches/beignet-correct-paths.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.