commit: b4c06e8aa5026aca4553ea949d46a291e619ea77 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Fri Sep 25 02:31:23 2020 +0000 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> CommitDate: Fri Sep 25 02:31:23 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b4c06e8a
sci-libs/arrayfire: drop redundant patches Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> .../files/arrayfire-3.3.2-FindLAPACKE.patch | 28 ------------------ ...-fix-for-CUDA-Compile-PTX-generated-names.patch | 34 ---------------------- 2 files changed, 62 deletions(-) diff --git a/sci-libs/arrayfire/files/arrayfire-3.3.2-FindLAPACKE.patch b/sci-libs/arrayfire/files/arrayfire-3.3.2-FindLAPACKE.patch deleted file mode 100644 index ab9b2f5e9..000000000 --- a/sci-libs/arrayfire/files/arrayfire-3.3.2-FindLAPACKE.patch +++ /dev/null @@ -1,28 +0,0 @@ -https://github.com/arrayfire/arrayfire/issues/1419 - - -From 2691d99693d6185d4f322a7776b1ced0e76877d2 Mon Sep 17 00:00:00 2001 -From: Shehzan Mohammed <[email protected]> -Date: Wed, 18 May 2016 10:18:34 -0400 -Subject: [PATCH] BUGFIX Correctly handle lapacke found by package config - ---- - CMakeModules/FindLAPACKE.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/CMakeModules/FindLAPACKE.cmake b/CMakeModules/FindLAPACKE.cmake -index 5ecf7be..2ebd8dd 100644 ---- a/CMakeModules/FindLAPACKE.cmake -+++ b/CMakeModules/FindLAPACKE.cmake -@@ -143,7 +143,7 @@ ELSE(PC_LAPACKE_FOUND) - ENDIF(LAPACKE_ROOT_DIR) - ENDIF(PC_LAPACKE_FOUND) - --IF(LAPACKE_LIB AND LAPACK_LIB) -+IF(PC_LAPACKE_FOUND OR (LAPACKE_LIB AND LAPACK_LIB)) - SET(LAPACK_LIBRARIES ${LAPACKE_LIB} ${LAPACK_LIB}) - ENDIF() - IF(LAPACKE_INCLUDES) --- -2.7.3 - diff --git a/sci-libs/arrayfire/files/arrayfire-3.4.2-Build-fix-for-CUDA-Compile-PTX-generated-names.patch b/sci-libs/arrayfire/files/arrayfire-3.4.2-Build-fix-for-CUDA-Compile-PTX-generated-names.patch deleted file mode 100644 index 3cc51b1b3..000000000 --- a/sci-libs/arrayfire/files/arrayfire-3.4.2-Build-fix-for-CUDA-Compile-PTX-generated-names.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 13c484e10537b52bcd012e6850520659769cece6 Mon Sep 17 00:00:00 2001 -From: Shehzan Mohammed <[email protected]> -Date: Thu, 22 Dec 2016 18:10:54 -0500 -Subject: [PATCH] Build fix for CUDA Compile PTX generated names by CMake 3.7 - ---- - src/backend/cuda/CMakeLists.txt | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt -index 9cfa8a5..2f2045d 100644 ---- a/src/backend/cuda/CMakeLists.txt -+++ b/src/backend/cuda/CMakeLists.txt -@@ -315,8 +315,16 @@ foreach(ptx_src_file ${ptx_sources}) - - get_filename_component(_name "${ptx_src_file}" NAME_WE) - -+ # CUDA_COMPILE_PTX from CMake 3.7 has new features that require this change -+ # TODO Fix this with a more complete solution -+ IF(CMAKE_VERSION VERSION_LESS 3.7) # Before 3.7 -+ SET(NAME_APPEND "") -+ ELSE(CMAKE_VERSION VERSION_LESS 3.7) # 3.7 and newer -+ SET(NAME_APPEND "_1") -+ ENDIF(CMAKE_VERSION VERSION_LESS 3.7) -+ - set(_gen_file_name -- "${PROJECT_BINARY_DIR}/src/backend/cuda/cuda_compile_ptx_generated_${_name}.cu.ptx") -+ "${PROJECT_BINARY_DIR}/src/backend/cuda/cuda_compile_ptx${NAME_APPEND}_generated_${_name}.cu.ptx") - set(_out_file_name - "${PROJECT_BINARY_DIR}/src/backend/cuda/${_name}.ptx") - --- -2.10.2 -
