From patchwork Mon Mar 14 08:56:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 5181 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 36995C433EF for ; Mon, 14 Mar 2022 08:57:08 +0000 (UTC) Received: from mail-lf1-f53.google.com (mail-lf1-f53.google.com [209.85.167.53]) by mx.groups.io with SMTP id smtpd.web10.24183.1647248225983400747 for ; Mon, 14 Mar 2022 01:57:07 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@qtec.com header.s=google header.b=W+HhVV8r; spf=pass (domain: qtec.com, ip: 209.85.167.53, mailfrom: daniel@qtec.com) Received: by mail-lf1-f53.google.com with SMTP id bu29so25936381lfb.0 for ; Mon, 14 Mar 2022 01:57:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtec.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xJNRVVHJc8LSdWl6sNF5zcRvXNUxc9yMuGqq2XSJEaM=; b=W+HhVV8rm6vLPNb09N/WDwOnPWmWwqf0hnuiQQCm+bwaog5TXodMc4W3WhThRNjYpN 7yqnpW6SvFlM54R5mnFoxGSS6K31fw1FhbQzXk6FDEvsdbgSXeyCkDqunjs85FNOxs1t Mdim2WfFrRsjuaCAYGaaG1zj8PqFrVZmqyNFXk8y/CLpMbvloD7vvfYMvPw4lmbFoXYb CGEk4tcVAAY7WM33nC2xFMKQUYY/bgsmnPRVQglT1qU/MjgZkvcJeqVzJ3uEI3lA31Tj eUNbAqxkL2u2Q75djWx/5bt+frP57s6dovDXslCDRaCCCEF4iOow7i54ojcJMgYvRIZE jluA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xJNRVVHJc8LSdWl6sNF5zcRvXNUxc9yMuGqq2XSJEaM=; b=g/FIlG/WQiPlU2sVXBN/P/UPcjTk+PUSfXJgavtuqTY+Fn4GpTLeiktqnhkRQfZmOq RQkYVjrENdV+Dw5QQLrN10M2xEOgFrobttqftuQE3LanM0FyOXcz0Bnw/6cYGRmBHCjg 9Uolwdkcdwqy1iRBcclV2Git10KjcbCARF+3kNmzLWmDbA70TetESBpHhg+n3x/MAYnz dGjSMrBYPQulchD2/gblFMGBcZTjrf+1LV4JYCMa0ZqH5dK6WE5hr/V1QLNreZyQC6aj C/aGcCx4xtTD+RgR04/czZ/AjvyWW08bJ0GiH4qUHSEZMViMOnonPvTMzPDa2asn22e2 7MeA== X-Gm-Message-State: AOAM533+bRhWV/IKEW1nF9axjmsq1kAg08qdj8Q9/27mc7vx+lk66UPz XHPeYNjceqrAAhdPTL7yJaKsxcA0d+eoVKecpaZRKdSZFSGi09hK+JvJWRZs+gBU2C4hPtEU8/b 7hAqp8ii+nAc7Qvvby1iPA6HmbCkUp7H2mdbXv+wrrFLPUDmo6ol7GoKp2SAy8krsjkg1DFRHFv vF2FjEVbh0ngfUbQ== X-Google-Smtp-Source: ABdhPJxj9adSx2Y5Wmxm3GCQUl0oQG82CFodgsNaEAHsKztzZv66LETGgo9vyXVrib2ytkTagJplCw== X-Received: by 2002:ac2:5082:0:b0:448:35ad:23b7 with SMTP id f2-20020ac25082000000b0044835ad23b7mr13183487lfm.509.1647248223154; Mon, 14 Mar 2022 01:57:03 -0700 (PDT) Received: from localhost.localdomain (cpe.ge-3-0-8-100.ryvnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h3-20020a2e9003000000b00249278d3bd7sm1751237ljg.77.2022.03.14.01.57.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 01:57:02 -0700 (PDT) From: Daniel Gomez To: openembedded-devel@lists.openembedded.org Cc: dagmcr@gmail.com, Daniel Gomez Subject: [meta-oe][PATCH 1/6] zbar: Update 1.23.1 -> 1.23.92+4e0f618 Date: Mon, 14 Mar 2022 09:56:41 +0100 Message-Id: <20220314085646.38283-1-daniel@qtec.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 08:57:08 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95972 - Drop patches already upstream. - Remove duplicated PACKAGECONFIG variable. - Update to master: Version 1.23.92+4e0f618. Signed-off-by: Daniel Gomez --- .../0001-qt-Create-subdir-in-Makefile.patch | 35 ---------------- ...02-zbarcam-Create-subdir-in-Makefile.patch | 40 ------------------- meta-oe/recipes-support/zbar/zbar_git.bb | 12 ++---- 3 files changed, 4 insertions(+), 83 deletions(-) delete mode 100644 meta-oe/recipes-support/zbar/zbar/0001-qt-Create-subdir-in-Makefile.patch delete mode 100644 meta-oe/recipes-support/zbar/zbar/0002-zbarcam-Create-subdir-in-Makefile.patch -- 2.34.1 diff --git a/meta-oe/recipes-support/zbar/zbar/0001-qt-Create-subdir-in-Makefile.patch b/meta-oe/recipes-support/zbar/zbar/0001-qt-Create-subdir-in-Makefile.patch deleted file mode 100644 index d7ca15207..000000000 --- a/meta-oe/recipes-support/zbar/zbar/0001-qt-Create-subdir-in-Makefile.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 9c67f377477a07495a712f478eabfa8d33164c45 Mon Sep 17 00:00:00 2001 -From: Daniel Gomez -Date: Sun, 17 Jan 2021 23:32:51 +0100 -Subject: [PATCH 1/2] qt: Create subdir in Makefile - -Create builddir/qt subdir when --with-qt5 is enabled. - -Fixes the following error: - -moc -Iqt -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtWidgets --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtGui --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtCore --I../git/include ../git/include/zbar/QZBar.h -o qt/moc_QZBar.cpp -moc: Cannot create qt/moc_QZBar.cpp -make: *** [Makefile:2459: qt/moc_QZBar.cpp] Error 1 - -Signed-off-by: Daniel Gomez ---- - qt/Makefile.am.inc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/qt/Makefile.am.inc b/qt/Makefile.am.inc -index b099c2b..c98fbeb 100644 ---- a/qt/Makefile.am.inc -+++ b/qt/Makefile.am.inc -@@ -15,4 +15,5 @@ qt/moc_%.cpp: qt/%.h - $(MOC) $(qt_libzbarqt_la_CPPFLAGS) $< -o $@ - - qt/moc_%.cpp: include/zbar/%.h -+ @$(mkdir_p) qt 2>/dev/null - $(MOC) $(qt_libzbarqt_la_CPPFLAGS) $< -o $@ --- -2.29.2 - diff --git a/meta-oe/recipes-support/zbar/zbar/0002-zbarcam-Create-subdir-in-Makefile.patch b/meta-oe/recipes-support/zbar/zbar/0002-zbarcam-Create-subdir-in-Makefile.patch deleted file mode 100644 index a1c27b8b4..000000000 --- a/meta-oe/recipes-support/zbar/zbar/0002-zbarcam-Create-subdir-in-Makefile.patch +++ /dev/null @@ -1,40 +0,0 @@ -From fe751929ccc8fd75e350ed6db9d28d04bd31fc79 Mon Sep 17 00:00:00 2001 -From: Daniel Gomez -Date: Sun, 17 Jan 2021 23:33:19 +0100 -Subject: [PATCH 2/2] zbarcam: Create subdir in Makefile - -Create builddir/zbarcam when --with-qt5 is enabled. - -Fixes the following error: - -moc -i -Izbarcam -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_GUI_LIB --DQT_CORE_LIB --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtWidgets --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtX11Extras --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtGui --I/var/lib/yocto/gallium/tmp_20210113/work/znver1-poky-linux/zbar/0.23.1+gitAUTOINC+89e7900d85-r0/recipe-sysroot/usr/include/QtCore --I../git/include ../git/zbarcam/zbarcam-qt.cpp -o -zbarcam/moc_zbarcam_qt.h -moc: Cannot create zbarcam/moc_zbarcam_qt.h -make: *** [Makefile:2438: zbarcam/moc_zbarcam_qt.h] Error 1 - -Signed-off-by: Daniel Gomez ---- - zbarcam/Makefile.am.inc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/zbarcam/Makefile.am.inc b/zbarcam/Makefile.am.inc -index b6de82c..e90c50c 100644 ---- a/zbarcam/Makefile.am.inc -+++ b/zbarcam/Makefile.am.inc -@@ -28,6 +28,7 @@ DISTCLEANFILES += $(nodist_zbarcam_zbarcam_qt_SOURCES) zbarcam/moc_zbarcam_qt.h - - - zbarcam/moc_zbarcam_qt.h: zbarcam/zbarcam-qt.cpp -+ @$(mkdir_p) zbarcam 2>/dev/null - $(MOC) -i $(zbarcam_zbarcam_qt_CPPFLAGS) $< -o $@ - endif - --- -2.29.2 - diff --git a/meta-oe/recipes-support/zbar/zbar_git.bb b/meta-oe/recipes-support/zbar/zbar_git.bb index 17084f830..5d7d7e173 100644 --- a/meta-oe/recipes-support/zbar/zbar_git.bb +++ b/meta-oe/recipes-support/zbar/zbar_git.bb @@ -9,23 +9,19 @@ SECTION = "graphics" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5e9ee833a2118adc7d8b5ea38e5b1cef" -SRC_URI = "git://github.com/mchehab/zbar.git;branch=master;protocol=https \ - file://0001-qt-Create-subdir-in-Makefile.patch \ - file://0002-zbarcam-Create-subdir-in-Makefile.patch \ -" -SRCREV = "89e7900d85dd54ef351a7ed582aec6a5a5d7fa37" +SRC_URI = "git://github.com/mchehab/zbar.git;branch=master;protocol=https" +SRCREV = "4e0f618b54af060fc3516acfb34b6023ed064620" S = "${WORKDIR}/git" -PV = "0.23.1+git${SRCPV}" +PV = "0.23.92+git${SRCPV}" DEPENDS += "xmlto-native" PACKAGECONFIG ??= "\ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ + video python3 \ " -PACKAGECONFIG ??= "video python3" - inherit autotools pkgconfig gettext \ ${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3native', '', d)} \ ${@bb.utils.contains('PACKAGECONFIG', 'gtk3', 'gobject-introspection', '', d)} \ From patchwork Mon Mar 14 08:56:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 5182 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2136BC433F5 for ; Mon, 14 Mar 2022 08:57:09 +0000 (UTC) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by mx.groups.io with SMTP id smtpd.web11.24333.1647248227269371793 for ; Mon, 14 Mar 2022 01:57:08 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@qtec.com header.s=google header.b=I853ccqt; spf=pass (domain: qtec.com, ip: 209.85.208.174, mailfrom: daniel@qtec.com) Received: by mail-lj1-f174.google.com with SMTP id c15so4181425ljr.9 for ; Mon, 14 Mar 2022 01:57:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtec.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=NwlNrAyedU+5f55GS3bO6AQzed5A9jUlyf32fBx60CA=; b=I853ccqtGsu114qkZj/btAvoBovOBtlO29ohOCspyahtmg7DIAkJ4o2Uepcl2/s/Ur 009hpVxigdKOgKKFeuSiaRB+ebtdJBAx4QXvK8M8hgpQiF05oHLwVNkfF9L0I4zzRcWO HjZzrgj1588M+RkMqRRE9TauZSGMev2pr2KODPEepfZAwMHsTHeGirvS0uUPbO4q8iLZ GuaaMbqRbsMmQyMjxcD1CyvkMld3UAS3JW9DW+9sKBhofZEKIaW0wK64pX37zAMFntyd huEoiY0DQFS9WklMoUEe4+mB/QFDf/JSR48AAlAb3dPYA7xt4yYhtRqFvjODF/BEB8V/ nQXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NwlNrAyedU+5f55GS3bO6AQzed5A9jUlyf32fBx60CA=; b=h3CQ7tXEYKaUB+dcrb9j7qmXDvE0lp3Ep66o/tHvM4hr1EHhZRJqSylCMLBRTyz9nQ YoMm+uSiTzBYBtR+lRrmd7XpbvhI9zWFkqIOjzHyR0OaVDGNxodhTwjYjqlZeaaTySBq OcSipWR7ddYq5DSwMI4AyVKf8315KJF0WaOiWq2gjaZbnPK/YQLPkJu9ot1iwucMDeoB l9wXpwfoor86C4au7KTgdgTQ0Ebb4mMiKONO5LY9TROWFe76ivVt1fvn0zZUroQX5XVn uEkCSXFCxTCDaJtV42moQuJ9EsDEAVMd3mSQ16tzQgYTz4CWlsdRaop9z7ELVAFxnPmr XiMA== X-Gm-Message-State: AOAM531eNsfRCofr7g89/NGqbASKZjCALmwX85cJHk/64WND+2O53g8m DWsHyBALhySMD8cXdNCCHYJZeeQKnqmOWjs7y5NmkXYferhUstINjXVD1m04eABXGyo+IA1ecTv Dy7Z8e0vsZCAab9LDnET252wwE6SjLKzP0w+B+I96Q5zPziHolnPsDPo2iddQlkPuW02qyhseWt zowbhqSGVBquEeXw== X-Google-Smtp-Source: ABdhPJxIA8WLckopukXDEk+1rthupTvkyMU6vDBB96MV6eKCVwW8+sppI61NGLcQMXB0aDkVDqe9IQ== X-Received: by 2002:a2e:8e85:0:b0:249:22ad:7bf0 with SMTP id z5-20020a2e8e85000000b0024922ad7bf0mr8069871ljk.340.1647248225194; Mon, 14 Mar 2022 01:57:05 -0700 (PDT) Received: from localhost.localdomain (cpe.ge-3-0-8-100.ryvnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h3-20020a2e9003000000b00249278d3bd7sm1751237ljg.77.2022.03.14.01.57.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 01:57:04 -0700 (PDT) From: Daniel Gomez To: openembedded-devel@lists.openembedded.org Cc: dagmcr@gmail.com, Daniel Gomez Subject: [meta-oe][PATCH 4/6] opencl-icd-loader: Update 2020.12.18 -> v2022.01.04 Date: Mon, 14 Mar 2022 09:56:44 +0100 Message-Id: <20220314085646.38283-4-daniel@qtec.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220314085646.38283-1-daniel@qtec.com> References: <20220314085646.38283-1-daniel@qtec.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 08:57:09 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95975 - Fix recipe style WARNINGS from oe-stylize. ./contrib/oe-stylize.py meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb Reminder: Tabs should not be used (use spaces instead) in : ' ${bindir}/icd_loader_test \ ' Reminder: The correct spacing for a variable is FOO = "BAR" in : ' SUMMARY = "OpenCL ICD Loader" ' - Fix missing lib for CL applications strace clinfo: openat(AT_FDCWD, "/usr/lib/libOpenCL.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/usr/lib", {st_mode=S_IFDIR|0755, st_size=36864, ...}, 0) = 0 writev(2, [{iov_base="clinfo", iov_len=6}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libOpenCL.so.1", iov_len=14}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov _base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10 clinfo: error while loading shared libraries: libOpenCL.so.1: cannot open shared object file: No such file or directory) = 120 exit_group(127) = ? - Change branch name master -> main according to upstream repository. Signed-off-by: Daniel Gomez --- .../opencl/opencl-icd-loader_git.bb | 54 ++++++++++--------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb b/meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb index 45b1ad549..67437732d 100644 --- a/meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb +++ b/meta-oe/recipes-core/opencl/opencl-icd-loader_git.bb @@ -1,30 +1,36 @@ -SUMMARY = "OpenCL ICD Loader" +SUMMARY = "OpenCL ICD Loader" DESCRIPTION = "OpenCL compute ICD Loader from Khronos Group" -LICENSE = "Apache-2.0" +LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SECTION = "base" +inherit pkgconfig cmake + DEPENDS += "opencl-headers" -inherit pkgconfig cmake +PROVIDES = "virtual/opencl-icd" S = "${WORKDIR}/git" -PV = "2020.12.18+git${SRCPV}" -SRCREV = "1d5315c3ed30d026acb79a1aa53a276fc833ffa7" -SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git;branch=master;protocol=https" - -do_install () { - install -d ${D}${bindir} - install -m 0755 ${B}/test/loader_test/icd_loader_test ${D}${bindir}/ - chrpath -d ${D}${bindir}/icd_loader_test - install -d ${D}${libdir} - install -m 0644 ${B}/test/log/libIcdLog.so ${D}${libdir}/ - install -m 0644 ${B}/test/driver_stub/libOpenCLDriverStub.so ${D}${libdir}/ - chrpath -d ${D}${libdir}/libOpenCLDriverStub.so - install -m 0644 ${B}/libOpenCL.so.1.2 ${D}${libdir}/ - cd ${D}${libdir} - ln -s libOpenCL.so.1.2 libOpenCL.so.1 - ln -s libOpenCL.so.1 libOpenCL.so +PV = "v2022.01.04+git${SRCPV}" +SRCREV = "169f05d026e65948b30cfe2200595fda92198cf7" +SRC_URI = "git://github.com/KhronosGroup/OpenCL-ICD-Loader.git;branch=main;protocol=https" + +EXTRA_OECMAKE:append = " \ + -DOPENCL_ICD_LOADER_HEADERS_DIR=${STAGING_INCDIR} \ +" + +do_install() { + install -d ${D}${bindir} + install -m 0755 ${B}/test/loader_test/icd_loader_test ${D}${bindir}/ + chrpath -d ${D}${bindir}/icd_loader_test + install -d ${D}${libdir} + install -m 0644 ${B}/test/log/libIcdLog.so ${D}${libdir}/ + install -m 0644 ${B}/test/driver_stub/libOpenCLDriverStub.so ${D}${libdir}/ + chrpath -d ${D}${libdir}/libOpenCLDriverStub.so + install -m 0644 ${B}/libOpenCL.so.1.2 ${D}${libdir}/ + cd ${D}${libdir} + ln -s libOpenCL.so.1.2 libOpenCL.so.1 + ln -s libOpenCL.so.1 libOpenCL.so } PACKAGES = "opencl-icd-loader opencl-icd-loader-dev" @@ -32,13 +38,13 @@ PACKAGES += "libicdlog libicdlog-dbg" PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src" FILES:${PN} = " \ - ${bindir}/icd_loader_test \ - ${libdir}/libOpenCLDriverStub.so \ - ${libdir}/libOpenCL.so.1.2 \ + ${bindir}/icd_loader_test \ + ${libdir}/libOpenCLDriverStub.so \ + ${libdir}/libOpenCL.so.1.2 \ + ${libdir}/libOpenCL.so.1 \ " FILES:${PN}-dev = " \ - ${libdir}/libOpenCL.so \ - ${libdir}/libOpenCL.so.1 \ + ${libdir}/libOpenCL.so \ " FILES:libicdlog = "${libdir}/libIcdLog.so" From patchwork Mon Mar 14 08:56:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 5183 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26AA4C43217 for ; Mon, 14 Mar 2022 08:57:10 +0000 (UTC) Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by mx.groups.io with SMTP id smtpd.web11.24334.1647248228245256547 for ; Mon, 14 Mar 2022 01:57:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@qtec.com header.s=google header.b=TF4jULUK; spf=pass (domain: qtec.com, ip: 209.85.167.44, mailfrom: daniel@qtec.com) Received: by mail-lf1-f44.google.com with SMTP id e6so19209465lfc.1 for ; Mon, 14 Mar 2022 01:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtec.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=GnGy073kaaL8V14m6NMt69HGOnHbtc6g04mLnQsN7Ls=; b=TF4jULUKfRP9xciwci46+i4jVnHYCKik6tcq3P9R8DMd/2X3IZW2divXUq3qPMmA0Z a/yJKGIBOgk0nDbhLRrge77UWO1ZmQQAZDkEiaaNIEv2jxzSDy/KY6fvKm6ytD0BKR61 EEMH5CectPMiK7Tpur1CUIDW/Y6ui1Uhy0KnExFW197VpJ1Ce6SN5KrijMT9eRgbjvR+ 7wRSZJAke7LUK/Kk8zlDsP675bEQ3+/yyn6j78h427ORQFPw/noj9H7TVvpVF1sVVoMV +shbzFSfMPMIV2r3/kZOryzkj8jd6lh5cifSaywGzln0xHF4MI6prmGSAn7ZiIk73Bc2 yvlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=GnGy073kaaL8V14m6NMt69HGOnHbtc6g04mLnQsN7Ls=; b=iTo0xXy3ZPYYZkyESk74VLihcAL10ilnrecQ9I8BUR5/nkyjMIQOjmt5RHGVBxbYmy pm5O56kyzFc20NgI45hJwojYy4GZYPgRG0KDdZrzieXi/FVtcS0oyFoQV5VpJNg4+ESS TP8G5mugq989CG7w1tNnsqWU9QLB39ECx+OmDocXFt7ipiZrm0z2j86qHRoZ+WKfBN45 0NcdIb5PRF2iWqX8wX4Le1tIaoxoVY3HwLR7Hr3N09Zkz6XtEysO1fY3KZ+9eIN2Wbpu Aq2Obm5QBElZejC4rCCl2vsnvptr8HRnaykv4DqMmw/kaZxJTlyyC6rGAT2JbiDg00DU otZQ== X-Gm-Message-State: AOAM532EdMvIayMDwiJAiZ+YGLGw1v3s0hBfpv54vAH0RUb6zE6CQUE3 /LI75NI0YDOHSmUPiUF6ENIx9IoZRsO/FcXZrpkMQ8jAp+4pn3sC/5yVkNabGf8hpqxQrDwztom fRp8N/nbIVd0mOnml+WiB6y2VGdZUDbs6h7UgN4Cz/YheRfNNh3Jt4YHg8k993PtF+X5EROD4yT c6pd83NLHwFno5nA== X-Google-Smtp-Source: ABdhPJx2VPU4vKeMwk99MhB6ld6K+41mQI2eUm7AFVtdVj0UpBq6Ix6GVgA20+6SRjNaMefE88rd4w== X-Received: by 2002:a05:6512:b27:b0:448:23da:dcb0 with SMTP id w39-20020a0565120b2700b0044823dadcb0mr13151594lfu.55.1647248225882; Mon, 14 Mar 2022 01:57:05 -0700 (PDT) Received: from localhost.localdomain (cpe.ge-3-0-8-100.ryvnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h3-20020a2e9003000000b00249278d3bd7sm1751237ljg.77.2022.03.14.01.57.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 01:57:05 -0700 (PDT) From: Daniel Gomez To: openembedded-devel@lists.openembedded.org Cc: dagmcr@gmail.com, Daniel Gomez Subject: [meta-oe][PATCH 5/6] opencl-headers: Update v2020.12.18 -> v2022.01.04 Date: Mon, 14 Mar 2022 09:56:45 +0100 Message-Id: <20220314085646.38283-5-daniel@qtec.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220314085646.38283-1-daniel@qtec.com> References: <20220314085646.38283-1-daniel@qtec.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 08:57:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95976 - Add PV to include package version + git revision. - Add ALLOW_EMPTY to prevent error [1] when installing package in image. - Change branch name master -> main according to upstream repository. [1]: opencl-headers installation error: E: Package 'opencl-headers' has no installation candidate Signed-off-by: Daniel Gomez --- meta-oe/recipes-core/opencl/opencl-headers_git.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.34.1 diff --git a/meta-oe/recipes-core/opencl/opencl-headers_git.bb b/meta-oe/recipes-core/opencl/opencl-headers_git.bb index f77bf46d2..5e8e6f07f 100644 --- a/meta-oe/recipes-core/opencl/opencl-headers_git.bb +++ b/meta-oe/recipes-core/opencl/opencl-headers_git.bb @@ -5,12 +5,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SECTION = "base" S = "${WORKDIR}/git" -# v2020.12.18 -SRCREV = "c57ba81c460ee97b6b9d0b8d18faf5ba6883114b" -SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=master;protocol=https" +PV = "v2022.01.04+git${SRCPV}" +SRCREV = "59ac4dc2f282286d8db83143686cfe37ec658b84" +SRC_URI = "git://github.com/KhronosGroup/OpenCL-Headers.git;branch=main;protocol=https" do_configure[noexec] = "1" do_compile[noexec] = "1" +ALLOW_EMPTY:${PN} = "1" do_install () { install -d ${D}${includedir}/CL/ From patchwork Mon Mar 14 08:56:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Gomez X-Patchwork-Id: 5184 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 267BDC4332F for ; Mon, 14 Mar 2022 08:57:10 +0000 (UTC) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) by mx.groups.io with SMTP id smtpd.web11.24335.1647248228468582205 for ; Mon, 14 Mar 2022 01:57:09 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@qtec.com header.s=google header.b=YK6YNaef; spf=pass (domain: qtec.com, ip: 209.85.208.176, mailfrom: daniel@qtec.com) Received: by mail-lj1-f176.google.com with SMTP id c15so4181484ljr.9 for ; Mon, 14 Mar 2022 01:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qtec.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4zQ6j1qgL8xTn8pjmVfPFtjjTTw5khpzdWLNEZfAR6w=; b=YK6YNaefkh6+qLkWmRCL7vg5aF0uIikd9GJxAZ1+NTjTu2WZq+r+cHPIvvrIrFCu8p T1nPmzMZJrALEYiMxjTyC5JdZs+fRN3xqLK9xwoJN26V0qGVn3zlMfbyhQZBRXiIBoqG H4Fsc+k9fl6DSqjLHMiEYyL/43LTIDVoGI0nqMmbrP8I1LVZAY2CR0kzmQ7RT5SkQNvO sDkBJW/GWwz0lus91bhczzCG7VDYIuDVQjPwCESUNLA8KKlfOvmMCRqrPqKYZZpqYesB dxpWPLvmF9s9CG52/vSXeZgahchx9Ves2upxlfIamGt+xZtKv1cUEUQNeqfyD0lW9Ln+ sCig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4zQ6j1qgL8xTn8pjmVfPFtjjTTw5khpzdWLNEZfAR6w=; b=DB8c1j/bVcDr52tLK0koWtWajqUC3FxMrhQGbXf+NF9e/2kVzPfto8e2OSwsgPNqhu /HtwXy39g93FP+dK8CVALujkPNPDo8UH+EuKnRNlyxry6XYoPplHb6h7Xq0ghneawzBM MJOCcMNX+Y/6sUlxiDtyxxWG9AmUbtQzYGiflN9vk61HBAkA0aXgXXEf4pJLHRKOYOyI Z5bGlBCPSbIyD2Z5SigO+HbSNw50Fwl4x4Xg0+XvcPJfBK99ugr8h4xzcfzM5obrTYwF 9pQPXPfOHwomJCfZdAoCKc0vq9VBD0obCnV0gvJsUCOqx+ZnclZ+2bRJ7g4dOP7fS81C 3IRg== X-Gm-Message-State: AOAM530CNUVMZ77qONb5F/9fMjt33ESYgaWd3QZFqgs1ZHXmDENYVCwC PTeBxcm8HSnGen/EY0UZTjVPznIhtTp2fu5dOVRHBzU3d3pt/WPOEuUKZmaOzbGDp0Sfm0KcUWX M9vok9EW2WzBn/lmDP2JluPKuz22151CUtST7/w0BrgvMDlWnjEiP45poPayyGdzlvhYUpRfOWf L3BpVQvjYJJSx8/g== X-Google-Smtp-Source: ABdhPJxXsRAKj99oeli4qsGriLd6Jy6Ppx8Jtet0TEhYnc3dw0CXI9XSvPRjGf9I82ATg7dnG64DMA== X-Received: by 2002:a05:651c:b25:b0:247:eb54:a9f3 with SMTP id b37-20020a05651c0b2500b00247eb54a9f3mr13519483ljr.399.1647248226696; Mon, 14 Mar 2022 01:57:06 -0700 (PDT) Received: from localhost.localdomain (cpe.ge-3-0-8-100.ryvnqe10.dk.customer.tdc.net. [80.197.57.18]) by smtp.gmail.com with ESMTPSA id h3-20020a2e9003000000b00249278d3bd7sm1751237ljg.77.2022.03.14.01.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 01:57:06 -0700 (PDT) From: Daniel Gomez To: openembedded-devel@lists.openembedded.org Cc: dagmcr@gmail.com, Daniel Gomez Subject: [meta-oe][PATCH 6/6] opencl-clhpp: Update 2.0.15 -> 2.0.16 Date: Mon, 14 Mar 2022 09:56:46 +0100 Message-Id: <20220314085646.38283-6-daniel@qtec.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220314085646.38283-1-daniel@qtec.com> References: <20220314085646.38283-1-daniel@qtec.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 14 Mar 2022 08:57:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/95977 - Change branch name master -> main according to upstream repository. - Update 2.0.15 -> 2.0.16. Changelog: 1df82b9 Add param traits for CL_DEVICE_SUPPORTED_REGISTER_ALLOCATIONS_ARM (#165) 814e7b2 update the C++ bindings code example (#151) 6d833a5 Update opencl.hpp: Add CL_DEVICE_BOARD_NAME_AMD (#160) 25ad589 Added missing definitions for deprecated prefixes and suffixes for version 2.2 (#159) 21a34b0 Test two additional defines and update descriptions in header (#147) ff7318c Fix cl::enqueueMapSVM for cl::vector and cl::pointer (#145) 30d4219 Test most of the possible defines (#140) 63d9e41 Fix unreasonable error handling in opencl.hpp (#139) 0198c41 Add support for cl_khr_integer_dot_product v2 (#141) 8df6c8f Transition CI to Github Actions (#142) Signed-off-by: Daniel Gomez --- meta-oe/recipes-core/opencl/opencl-clhpp_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb b/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb index 5a0776c26..8a712602c 100644 --- a/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb +++ b/meta-oe/recipes-core/opencl/opencl-clhpp_git.bb @@ -1,13 +1,13 @@ SUMMARY = "OpenCL API C++ bindings" DESCRIPTION = "OpenCL API C++ bindings from Khronos" -SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https;branch=master" +SRC_URI = "git://github.com/KhronosGroup/OpenCL-CLHPP.git;protocol=https;branch=main" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" -PV = "2.0.15+git${SRCPV}" -SRCREV = "f7237f3799009d856935e1eecfd7c9301fe522b4" +PV = "2.0.16+git${SRCPV}" +SRCREV = "1df82b9749739f2681081092ae163bb0f0d40f66" S = "${WORKDIR}/git"