Date: Tuesday, June 16, 2020 @ 00:53:58 Author: svenstaro Revision: 645609
upgpkg: openimagedenoise 1.2.1-1 Modified: openimagedenoise/trunk/PKGBUILD Deleted: openimagedenoise/trunk/fix-unwanted-simd.patch -------------------------+ PKGBUILD | 21 +++------------- fix-unwanted-simd.patch | 59 ---------------------------------------------- 2 files changed, 4 insertions(+), 76 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-06-16 00:15:21 UTC (rev 645608) +++ PKGBUILD 2020-06-16 00:53:58 UTC (rev 645609) @@ -2,8 +2,8 @@ # Maintainer: Sven-Hendrik Haase <[email protected]> pkgname=openimagedenoise -pkgver=1.2.0 -pkgrel=5 +pkgver=1.2.1 +pkgrel=1 pkgdesc='Intel(R) Open Image Denoise library' arch=('x86_64') url='https://openimagedenoise.github.io' @@ -10,20 +10,9 @@ license=('Apache') depends=('intel-tbb') makedepends=('cmake' 'ninja' 'ispc' 'python') -source=("https://github.com/OpenImageDenoise/oidn/releases/download/v${pkgver}/oidn-${pkgver}.src.tar.gz" - 'fix-ispc.patch::https://github.com/OpenImageDenoise/oidn/commit/e321d7c90a2c706a521a3afd8913af36b121dc9e.patch' - 'fix-unwanted-simd.patch') -sha512sums=('e8386fecdf60424c89f0d08ded88e166f72131e626e7c1c23b510fd4fa46530b7bcd934e5d2c2516ff1c32fe30f0ebd403fe46767a181d7e77023380d53ff6ae' - 'b03916098e771fb0467d32d60aa687c804da1d184956b392489e5943c8d71e439c05d05d809fc8e616a45a1cdcc9425cd29e73bd2222f4b6a2093c3eb09fadb2' - 'e180338d0b1fbfd52c3c7fe29cabcb482a6ec80f6459e7096b7773bd7f3ae77035168cec62d20103d25d14eeb809e769166a9d0f645c4dba8f1a59cdf1d2157b') +source=("https://github.com/OpenImageDenoise/oidn/releases/download/v${pkgver}/oidn-${pkgver}.src.tar.gz") +sha512sums=('d6d5aed3d5b24ed34a386850e82c7b24b0707fa2506384c08dd087e849e5000877e6343d24ff9158d1d76e4a9096f5e1ce2f6a331caa0f04c75f651e6c3588ef') -prepare() { - cd oidn-$pkgver - - patch -p1 -i ../fix-ispc.patch - patch -p1 -i ../fix-unwanted-simd.patch -} - build() { cd oidn-$pkgver @@ -38,6 +27,4 @@ package() { cd oidn-$pkgver DESTDIR="$pkgdir" ninja -C build install - rm "$pkgdir/usr/bin/tests" } - Deleted: fix-unwanted-simd.patch =================================================================== --- fix-unwanted-simd.patch 2020-06-16 00:15:21 UTC (rev 645608) +++ fix-unwanted-simd.patch 2020-06-16 00:53:58 UTC (rev 645609) @@ -1,59 +0,0 @@ -From a0060e2b7055f903ffd3de01adafa2eb75cf68a8 Mon Sep 17 00:00:00 2001 -From: Attila Afra <[email protected]> -Date: Tue, 9 Jun 2020 23:26:39 +0300 -Subject: [PATCH] fixed crash on pre-SSE4 CPUs when using some recent compilers - (e.g. GCC 10) - ---- - cmake/oidn_dnnl.cmake | 2 +- - cmake/oidn_platform.cmake | 5 ----- - 2 files changed, 0 insertions(+), 6 deletions(-) ---- a/cmake/oidn_dnnl.cmake -+++ b/cmake/oidn_dnnl.cmake -@@ -118,7 +118,7 @@ target_compile_definitions(dnnl - -DDNNL_ENABLE_CONCURRENT_EXEC - ) - --set(DNNL_COMPILE_OPTIONS ${OIDN_ISA_FLAGS_SSE41}) -+set(DNNL_COMPILE_OPTIONS "") - if(WIN32 AND CMAKE_CXX_COMPILER_ID STREQUAL "Intel") - # Correct 'jnl' macro/jit issue - list(APPEND DNNL_COMPILE_OPTIONS "/Qlong-double") -diff --git a/cmake/oidn_platform.cmake b/cmake/oidn_platform.cmake -index 9a03d017..b06853e4 100644 ---- a/cmake/oidn_platform.cmake -+++ b/cmake/oidn_platform.cmake -@@ -34,7 +34,6 @@ if(MSVC) - append(OIDN_C_CXX_FLAGS "/wd4244") - elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") - append(OIDN_C_CXX_FLAGS "/MP") -- set(OIDN_ISA_FLAGS_SSE41 "-QxSSE4.1") - # Disable warning: option '/Qstd=c++11' is not valid for C compilations (CMake bug?) - append(OIDN_C_CXX_FLAGS "/Qwd10370") - # Disable diagnostic: loop was not vectorized with "simd" -@@ -52,7 +51,6 @@ if(MSVC) - # disable: disabling optimization; runtime debug checks enabled - append(OIDN_C_CXX_FLAGS_DEBUG "-Qdiag-disable:10182") - elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- set(OIDN_ISA_FLAGS_SSE41 "-msse4.1") - # Disable warning: cannot vectorize some loops with #pragma omp simd - append(OIDN_C_CXX_FLAGS "-Wno-pass-failed") - # Disable warning: function is not needed and will not be emitted -@@ -64,17 +62,14 @@ elseif(UNIX OR MINGW) - append(OIDN_C_CXX_FLAGS "-fvisibility=internal") - append(OIDN_CXX_FLAGS "-fvisibility-inlines-hidden") - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") -- set(OIDN_ISA_FLAGS_SSE41 "-msse4.1") - # Disable warning: cannot vectorize some loops with #pragma omp simd - append(OIDN_C_CXX_FLAGS "-Wno-pass-failed") - # Disable warning: function is not needed and will not be emitted - append(OIDN_C_CXX_FLAGS "-Wno-unneeded-internal-declaration") - elseif(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") -- set(OIDN_ISA_FLAGS_SSE41 "-msse4.1") - # Suppress warning on assumptions made regarding overflow (#146) - append(OIDN_C_CXX_FLAGS "-Wno-strict-overflow") - elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") -- set(OIDN_ISA_FLAGS_SSE41 "-xSSE4.1") - # Disable optimizations in debug mode - append(OIDN_C_CXX_FLAGS_DEBUG "-O0") - # Workaround for ICC that produces error caused by pragma omp simd collapse(..)
