diff options
Diffstat (limited to 'recipes-containers/criu/criu_git.bb')
-rw-r--r-- | recipes-containers/criu/criu_git.bb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 09503624..8a7b5ad3 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb | |||
@@ -13,15 +13,17 @@ EXCLUDE_FROM_WORLD = "1" | |||
13 | 13 | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" |
15 | 15 | ||
16 | SRCREV = "f8b14286b092853a4485813e1efd564109df9123" | 16 | SRCREV = "b6059ff193a9b0dff98e997134d662c3ccfd1600" |
17 | PV = "3.19.0+git" | 17 | PV = "4.1+git" |
18 | 18 | ||
19 | SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ | 19 | SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;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 \ |
23 | file://0004-pycriu-attr-pycriu.version.__version__.patch \ | 23 | file://0004-pycriu-attr-pycriu.version.__version__.patch \ |
24 | file://0005-pycriu-skip-dependency-check-during-build.patch \ | 24 | file://0005-pycriu-skip-dependency-check-during-build.patch \ |
25 | file://0001-crit-explicity-set-PEP517_SOURCE_PATH.patch \ | ||
26 | file://0001-plugins-cuda-pass-DEBUG_PREFIX_MAP.patch \ | ||
25 | " | 27 | " |
26 | 28 | ||
27 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" | 29 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" |
@@ -46,11 +48,11 @@ EXTRA_OEMAKE:append = " LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unit | |||
46 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " | 48 | CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " |
47 | 49 | ||
48 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" | 50 | CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" |
49 | CFLAGS:arm += "-D__WORDSIZE" | 51 | CFLAGS:append:arm = " -D__WORDSIZE" |
50 | 52 | ||
51 | # overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" | 53 | # overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" |
52 | export LDFLAGS="" | 54 | export LDFLAGS = "" |
53 | export C_INCLUDE_PATH="${STAGING_INCDIR}/libnl3" | 55 | export C_INCLUDE_PATH = "${STAGING_INCDIR}/libnl3" |
54 | 56 | ||
55 | export BUILD_SYS | 57 | export BUILD_SYS |
56 | export HOST_SYS | 58 | export HOST_SYS |
@@ -75,6 +77,7 @@ do_compile:prepend() { | |||
75 | } | 77 | } |
76 | 78 | ||
77 | do_compile () { | 79 | do_compile () { |
80 | export DEBUG_PREFIX_MAP="${DEBUG_PREFIX_MAP}" | ||
78 | oe_runmake FULL_PYTHON=${PYTHON} PYTHON=nativepython3 | 81 | oe_runmake FULL_PYTHON=${PYTHON} PYTHON=nativepython3 |
79 | } | 82 | } |
80 | 83 | ||
@@ -83,6 +86,7 @@ do_install () { | |||
83 | export PEP517_WHEEL_PATH="${PEP517_WHEEL_PATH}" | 86 | export PEP517_WHEEL_PATH="${PEP517_WHEEL_PATH}" |
84 | export USRBINPATH="${USRBINPATH}" | 87 | export USRBINPATH="${USRBINPATH}" |
85 | export PEP517_INSTALL_PYTHON="${PEP517_INSTALL_PYTHON}" | 88 | export PEP517_INSTALL_PYTHON="${PEP517_INSTALL_PYTHON}" |
89 | |||
86 | oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=nativepython3 install | 90 | oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=nativepython3 install |
87 | 91 | ||
88 | # python3's distutils has a feature of rewriting the interpeter on setup installed | 92 | # python3's distutils has a feature of rewriting the interpeter on setup installed |