[arch-commits] Commit in arrayfire/trunk (2 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Sun Jun 25 07:59:31 UTC 2017


    Date: Sunday, June 25, 2017 @ 07:59:31
  Author: svenstaro
Revision: 240894

Remove old patches

Deleted:
  arrayfire/trunk/13c484e10537b52bcd012e6850520659769cece6.patch
  arrayfire/trunk/bf103c05bea41902cf9186224a6fa9435cb4e849.patch

------------------------------------------------+
 13c484e10537b52bcd012e6850520659769cece6.patch |   31 -----------------------
 bf103c05bea41902cf9186224a6fa9435cb4e849.patch |   24 -----------------
 2 files changed, 55 deletions(-)

Deleted: 13c484e10537b52bcd012e6850520659769cece6.patch
===================================================================
--- 13c484e10537b52bcd012e6850520659769cece6.patch	2017-06-25 07:59:05 UTC (rev 240893)
+++ 13c484e10537b52bcd012e6850520659769cece6.patch	2017-06-25 07:59:31 UTC (rev 240894)
@@ -1,31 +0,0 @@
-From 13c484e10537b52bcd012e6850520659769cece6 Mon Sep 17 00:00:00 2001
-From: Shehzan Mohammed <shehzan at arrayfire.com>
-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")
- 

Deleted: bf103c05bea41902cf9186224a6fa9435cb4e849.patch
===================================================================
--- bf103c05bea41902cf9186224a6fa9435cb4e849.patch	2017-06-25 07:59:05 UTC (rev 240893)
+++ bf103c05bea41902cf9186224a6fa9435cb4e849.patch	2017-06-25 07:59:31 UTC (rev 240894)
@@ -1,24 +0,0 @@
-From bf103c05bea41902cf9186224a6fa9435cb4e849 Mon Sep 17 00:00:00 2001
-From: pradeep <pradeep at arrayfire.com>
-Date: Mon, 9 Jan 2017 12:58:52 +0530
-Subject: [PATCH] Fix for CUDA usage with gcc > 5.x
-
----
- src/backend/cuda/CMakeLists.txt | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt
-index 8ae3799..f5ff450 100644
---- a/src/backend/cuda/CMakeLists.txt
-+++ b/src/backend/cuda/CMakeLists.txt
-@@ -338,6 +338,10 @@ ELSE()
-   ENDIF()
- ENDIF()
- 
-+IF("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
-+    SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES")
-+ENDIF()
-+
- ## Copied from FindCUDA.cmake
- ## The target_link_library needs to link with the cuda libraries using
- ## PRIVATE



More information about the arch-commits mailing list