From 39027f7038598a72ed3ad2a4865713717629320b Mon Sep 17 00:00:00 2001 From: Ezhilarasan Date: Thu, 17 Mar 2022 14:40:16 +0530 Subject: oidn: upgrade 1.4.1 -> 1.4.3 License-Update: copyright years refreshed Release notes: https://github.com/OpenImageDenoise/oidn/releases/tag/v1.4.3 Signed-off-by: Ezhilarasan Signed-off-by: Anuj Mittal --- .../oidn/oidn/0001-remove-redundant-RPATH.patch | 37 ++++++++++++++++++++++ .../recipes-oneapi/oidn/oidn_1.4.1.bb | 22 ------------- .../recipes-oneapi/oidn/oidn_1.4.3.bb | 24 ++++++++++++++ 3 files changed, 61 insertions(+), 22 deletions(-) create mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn/0001-remove-redundant-RPATH.patch delete mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.1.bb create mode 100644 dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.3.bb diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn/0001-remove-redundant-RPATH.patch b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn/0001-remove-redundant-RPATH.patch new file mode 100644 index 00000000..0f39a581 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn/0001-remove-redundant-RPATH.patch @@ -0,0 +1,37 @@ +From 46b7de8c4ae0cc34805c2a11356c5a730fb8760a Mon Sep 17 00:00:00 2001 +From: Ezhilarasan +Date: Fri, 4 Mar 2022 21:04:47 +0530 +Subject: [PATCH] remove-redundant-RPATH + +Error Log: +ERROR: oidn-1.4.3-r0 do_package_qa: QA Issue: oidn: /usr/lib/libOpenImageDenoise.so.1.4.3 contains probably-redundant RPATH /usr/lib +oidn: /usr/bin/oidnTest contains probably-redundant RPATH /usr/lib +oidn: /usr/bin/oidnDenoise contains probably-redundant RPATH /usr/lib +oidn: /usr/bin/oidnBenchmark contains probably-redundant RPATH /usr/lib [useless-rpaths] +ERROR: oidn-1.4.3-r0 do_package_qa: Fatal QA errors were found, failing task. + +Remove the redundant RPATH + +Upstream-Status: Inappropriate + +Signed-off-by: Ezhilarasan +--- + cmake/oidn_package.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/cmake/oidn_package.cmake b/cmake/oidn_package.cmake +index 1f76af8..46c0854 100644 +--- a/cmake/oidn_package.cmake ++++ b/cmake/oidn_package.cmake +@@ -29,7 +29,7 @@ if(OIDN_ZIP_MODE) + set(CMAKE_INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}") + endif() + else() +- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") ++# set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_FULL_LIBDIR}") + endif() + + ## ----------------------------------------------------------------------------- +-- +2.17.1 + diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.1.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.1.bb deleted file mode 100644 index 24ead8c6..00000000 --- a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.1.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Intel® Open Image Denoise" -DESCRIPTION = "Intel Open Image Denoise is an open source library of \ -high-performance, high-quality denoising filters for images \ -rendered with ray tracing. Intel Open Image Denoise is part \ -of the Intel® oneAPI Rendering Toolkit" -HOMEPAGE = "https://www.openimagedenoise.org/" - -LICENSE = "Apache-2.0 & BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ - file://mkl-dnn/LICENSE;md5=3c6ff4426dbd618bcfd552ac4a7c1c56 \ - file://mkl-dnn/src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ - file://mkl-dnn/src/cpu/x64/jit_utils/jitprofiling/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ - file://weights/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" - -SRC_URI = "https://github.com/OpenImageDenoise/${BPN}/releases/download/v${PV}/${BP}.src.tar.gz" -SRC_URI[sha256sum] = "9088966685a78adf24b8de075d66e4c0019bd7b2b9d29c6e45aaf35d294e3f6f" - -inherit cmake - -DEPENDS += "tbb ispc-native" - -UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.3.bb b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.3.bb new file mode 100644 index 00000000..8e055a57 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-oneapi/oidn/oidn_1.4.3.bb @@ -0,0 +1,24 @@ +SUMMARY = "Intel® Open Image Denoise" +DESCRIPTION = "Intel Open Image Denoise is an open source library of \ +high-performance, high-quality denoising filters for images \ +rendered with ray tracing. Intel Open Image Denoise is part \ +of the Intel® oneAPI Rendering Toolkit" +HOMEPAGE = "https://www.openimagedenoise.org/" + +LICENSE = "Apache-2.0 & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57 \ + file://mkl-dnn/LICENSE;md5=8e17c0f9656ebaf0c380d9b22707c846 \ + file://mkl-dnn/src/cpu/x64/xbyak/COPYRIGHT;md5=3b9bf048d063d54cdb28964db558bcc7 \ + file://mkl-dnn/src/common/ittnotify/LICENSE.BSD;md5=e671ff178b24a95a382ba670503c66fb \ + file://weights/LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "https://github.com/OpenImageDenoise/${BPN}/releases/download/v${PV}/${BP}.src.tar.gz\ + file://0001-remove-redundant-RPATH.patch \ + " +SRC_URI[sha256sum] = "3276e252297ebad67a999298d8f0c30cfb221e166b166ae5c955d88b94ad062a" + +inherit cmake + +DEPENDS += "tbb ispc-native" + +UPSTREAM_CHECK_URI = "https://github.com/OpenImageDenoise/oidn/releases" -- cgit v1.2.3-54-g00ecf