Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 112c0e1

Browse files
authored
Merge pull request #271 from pohly/merge-prs
merge multiple PRs
2 parents 55ed55e + 2069d94 commit 112c0e1

11 files changed

Lines changed: 44 additions & 32 deletions

File tree

README.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ Specify one or more target image(s)::
8989

9090
$ docker/local-build.sh refkit-image-common
9191

92-
.. building witout docker:
93-
9492
Building without Docker
9593
=======================
9694

bitbake

Submodule bitbake updated from c0ddde7 to 2d0203f

meta-intel

Submodule meta-intel updated from 009d044 to fe6f23e

meta-openembedded

Submodule meta-openembedded updated from 1cbd1bc to a8b54e3

meta-refkit-computervision/recipes-opencl/beignet/beignet.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SRC_URI_append_class-target = " file://0001-Run-native-gbe_bin_generater-to-comp
1010

1111
# CMake cannot digest "+" in pathes -> replace it with dots.
1212
PV = "1.3.1.${@ 'git${SRCPV}'.replace('+', '.')}"
13-
SRCREV = "6804cca263edd11fd03b2d7f5b7ba034d9a013c3"
13+
SRCREV = "757ccf02d6eac0f0281f2feb08a8bf1be6c27dfe"
1414
S = "${WORKDIR}/git"
1515

1616
# we need to depend on ocl-icd, so that the exported symbols go right

meta-refkit-computervision/recipes-opencl/beignet/files/0001-api-mark-platform-not-supported-if-device-is-not-fou.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From e7b7f468df7c73187dcf30e02137a70ed3fe44f2 Mon Sep 17 00:00:00 2001
1+
From 8a0f84a7f725b0f8161661dcf1c69f047b224b74 Mon Sep 17 00:00:00 2001
22
From: Ismo Puustinen <ismo.puustinen@intel.com>
33
Date: Mon, 20 Feb 2017 23:21:48 +0200
44
Subject: [PATCH] api: mark platform not supported if device is not found.
@@ -20,7 +20,7 @@ Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
2020
2 files changed, 78 insertions(+)
2121

2222
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
23-
index 77a1c87..0a67acd 100644
23+
index ecb98b96..2b38df68 100644
2424
--- a/src/CMakeLists.txt
2525
+++ b/src/CMakeLists.txt
2626
@@ -7,6 +7,11 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
@@ -36,7 +36,7 @@ index 77a1c87..0a67acd 100644
3636
foreach (KF ${KERNEL_FILES})
3737
set (input_file ${KERNEL_SOURCE}/${KF}.cl)
3838
diff --git a/src/cl_api_platform_id.c b/src/cl_api_platform_id.c
39-
index 10d8894..1045e93 100644
39+
index 10d88947..1045e934 100644
4040
--- a/src/cl_api_platform_id.c
4141
+++ b/src/cl_api_platform_id.c
4242
@@ -19,6 +19,13 @@
@@ -127,5 +127,5 @@ index 10d8894..1045e93 100644
127127
if (platform != cl_get_platform_default()) {
128128
return CL_INVALID_PLATFORM;
129129
--
130-
2.9.3
130+
2.13.3
131131

meta-refkit-computervision/recipes-opencl/beignet/files/0001-reduced-native-for-1.3.1.patch

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
From 7955c15d6f22297ae6d845eba6e89b384d0c0a7f Mon Sep 17 00:00:00 2001
1+
From f489c897a5ef80deb231296cd7e639763fee6ae4 Mon Sep 17 00:00:00 2001
22
From: Tuomas Katila <tuomas.katila@intel.com>
33
Date: Wed, 9 Nov 2016 11:16:40 +0200
44
Subject: [PATCH] reduced native for 1.3.1
55

66
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
77
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
88
---
9-
CMakeLists.txt | 116 ---------------------------------------------------------
10-
1 file changed, 116 deletions(-)
9+
CMakeLists.txt | 119 ---------------------------------------------------------
10+
1 file changed, 119 deletions(-)
1111

1212
diff --git a/CMakeLists.txt b/CMakeLists.txt
13-
index 7e01688..20c26b2 100644
13+
index 71e3ef7d..20c26b22 100644
1414
--- a/CMakeLists.txt
1515
+++ b/CMakeLists.txt
1616
@@ -28,7 +28,6 @@ set (NOT_BUILD_STAND_ALONE_UTEST 1)
@@ -21,7 +21,7 @@ index 7e01688..20c26b2 100644
2121
INCLUDE (FindPkgConfig)
2222

2323
SET(CMAKE_VERBOSE_MAKEFILE "false")
24-
@@ -112,119 +111,11 @@ ELSE(X11_FOUND)
24+
@@ -112,122 +111,11 @@ ELSE(X11_FOUND)
2525
MESSAGE(STATUS "Looking for XLib - not found")
2626
ENDIF(X11_FOUND)
2727

@@ -124,24 +124,27 @@ index 7e01688..20c26b2 100644
124124
-
125125
-OPTION(OCLICD_COMPAT "OCL ICD compatibility mode" ON)
126126
-IF(OCLICD_COMPAT)
127-
-Find_Package(OCLIcd)
128-
-IF(OCLIcd_FOUND)
129-
- MESSAGE(STATUS "Looking for OCL ICD header file - found")
130-
- configure_file (
131-
- "intel-beignet.icd.in"
132-
- "${ICD_FILE_NAME}"
133-
- )
134-
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
135-
-ELSE(OCLIcd_FOUND)
136-
- MESSAGE(STATUS "Looking for OCL ICD header file - not found")
137-
- MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.")
138-
-ENDIF(OCLIcd_FOUND)
127+
- Find_Package(OCLIcd)
128+
- IF(OCLIcd_FOUND)
129+
- MESSAGE(STATUS "Looking for OCL ICD header file - found")
130+
- configure_file (
131+
- "intel-beignet.icd.in"
132+
- "${ICD_FILE_NAME}"
133+
- )
134+
- IF(NOT OCL_ICD_INSTALL_PREFIX)
135+
- set(OCL_ICD_INSTALL_PREFIX "/etc/OpenCL/vendors")
136+
- ENDIF(NOT OCL_ICD_INSTALL_PREFIX)
137+
- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION ${OCL_ICD_INSTALL_PREFIX})
138+
- ELSE(OCLIcd_FOUND)
139+
- MESSAGE(STATUS "Looking for OCL ICD header file - not found")
140+
- MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.")
141+
- ENDIF(OCLIcd_FOUND)
139142
-ENDIF(OCLICD_COMPAT)
140143
-
141144
Find_Package(PythonInterp)
142145

143146
OPTION(EXPERIMENTAL_DOUBLE "Enable experimental double support" OFF)
144-
@@ -328,13 +219,6 @@ ENDIF(BUILD_EXAMPLES)
147+
@@ -331,13 +219,6 @@ ENDIF(BUILD_EXAMPLES)
145148

146149
ADD_SUBDIRECTORY(include)
147150
ADD_SUBDIRECTORY(backend)
@@ -156,5 +159,5 @@ index 7e01688..20c26b2 100644
156159
IF(BUILD_EXAMPLES)
157160
ADD_SUBDIRECTORY(examples)
158161
--
159-
2.9.3
162+
2.13.3
160163

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Refkit has its own installer image and doesn't use initramfs-module-install-efi
2+
# or initramfs-module-setup-live.
3+
#
4+
# We cannot disable them easily (no PACKAGECONFIG), so here we merely
5+
# override the dependencies and ignore the resulting broken packages.
6+
#
7+
# Ideally these modules shouldn't even be part of the base initramfs-module (see
8+
# "Re: [OE-core] [PATCH 2/3] initramfs-framework: include install-efi module in recipe for installation" and
9+
# "Re: [OE-core] [PATCH v6 1/1] initramfs-framework: module to support boot live image").
10+
RDEPENDS_initramfs-module-install-efi_df-refkit-config = ""
11+
RDEPENDS_initramfs-module-setup-live_df-refkit-config = ""

meta-ros

meta-yocto

Submodule meta-yocto updated from 6b194a1 to 76dd79e

0 commit comments

Comments
 (0)