summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/criu/criu_git.bb8
-rw-r--r--recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch15
2 files changed, 12 insertions, 11 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index 497201f5..54383144 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -13,10 +13,10 @@ EXCLUDE_FROM_WORLD = "1"
13 13
14LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" 14LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2"
15 15
16SRCREV = "3c7d4fa013297b431da48eff821db7f2e8b90c27" 16SRCREV = "4d76d1acdcd69afcedf1335c810bef5f8e18d95e"
17PV = "4.2+git" 17PV = "4.2+git"
18 18
19SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ 19SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=criu-dev;protocol=https \
20 file://0001-criu-Skip-documentation-install.patch \ 20 file://0001-criu-Skip-documentation-install.patch \
21 file://0002-criu-Change-libraries-install-directory.patch \ 21 file://0002-criu-Change-libraries-install-directory.patch \
22 file://0003-crit-pycriu-build-and-install-wheels.patch \ 22 file://0003-crit-pycriu-build-and-install-wheels.patch \
@@ -55,6 +55,10 @@ export C_INCLUDE_PATH = "${STAGING_INCDIR}/libnl3"
55 55
56export BUILD_SYS 56export BUILD_SYS
57export HOST_SYS 57export HOST_SYS
58# Upstream's scripts/nmk/scripts/tools.mk defaults HOSTCC to 'cc' (changed
59# from 'gcc' in criu commit 36c63ecb5). The native sysroot doesn't provide
60# an unprefixed 'cc', so set HOSTCC explicitly to bitbake's BUILD_CC.
61export HOSTCC = "${BUILD_CC}"
58export HOSTCFLAGS = "${BUILD_CFLAGS}" 62export HOSTCFLAGS = "${BUILD_CFLAGS}"
59 63
60inherit python_setuptools_build_meta 64inherit python_setuptools_build_meta
diff --git a/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch b/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch
index 0ccd6989..803c9339 100644
--- a/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch
+++ b/recipes-containers/criu/files/0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch
@@ -13,19 +13,16 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
13 plugins/cuda/Makefile | 2 +- 13 plugins/cuda/Makefile | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/plugins/cuda/Makefile b/plugins/cuda/Makefile 16Index: criu-4.2+git/plugins/cuda/Makefile
17index cc3d98ac9..aac9027a7 100644 17===================================================================
18--- a/plugins/cuda/Makefile 18--- criu-4.2+git.orig/plugins/cuda/Makefile
19+++ b/plugins/cuda/Makefile 19+++ criu-4.2+git/plugins/cuda/Makefile
20@@ -19,7 +19,7 @@ all: $(DEPS_CUDA) 20@@ -19,7 +19,7 @@ all: $(DEPS_CUDA)
21 21
22 cuda_plugin.so: cuda_plugin.c 22 cuda_plugin.so: cuda_plugin.c
23 $(call msg-gen, $@) 23 $(call msg-gen, $@)
24- $(Q) $(CC) $(PLUGIN_CFLAGS) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS) 24- $(Q) $(CC) $(PLUGIN_CFLAGS) $(DEFINES) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS)
25+ $(Q) $(CC) $(PLUGIN_CFLAGS) $(DEBUG_PREFIX_MAP) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS) 25+ $(Q) $(CC) $(PLUGIN_CFLAGS) $(DEBUG_PREFIX_MAP) $(DEFINES) $(shell $(COMPEL) includes) $^ -o $@ $(PLUGIN_INCLUDE) $(PLUGIN_LDFLAGS)
26 26
27 clean: 27 clean:
28 $(call msg-clean, $@) 28 $(call msg-clean, $@)
29--
302.43.0
31