public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/files/
@ 2015-01-10 18:03 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-01-10 18:03 UTC (permalink / raw
  To: gentoo-commits

commit:     5c113d13d74318d8c9718deff1e831b8143da0ca
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sat Jan 10 11:48:06 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Jan 10 11:48:06 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5c113d13

Add patch to install examples

---
 sci-libs/arrayfire/files/CMakeLists_examples.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sci-libs/arrayfire/files/CMakeLists_examples.patch b/sci-libs/arrayfire/files/CMakeLists_examples.patch
new file mode 100644
index 0000000..45139f8
--- /dev/null
+++ b/sci-libs/arrayfire/files/CMakeLists_examples.patch
@@ -0,0 +1,11 @@
+--- b/examples/CMakeLists.txt	2015-01-10 12:39:23.000000000 +0100
++++ a/examples/CMakeLists.txt	2015-01-10 12:40:10.000000000 +0100
+@@ -13,7 +13,7 @@ MACRO(CREATE_EXAMPLES BACKEND)
+         TARGET_LINK_LIBRARIES(${EXAMPLE_NAME} af${BACKEND} ${THREAD_LIB_FLAG})
+         SET_TARGET_PROPERTIES(${EXAMPLE_NAME} PROPERTIES COMPILE_FLAGS -DAF_${DEF_NAME} OUTPUT_NAME ${FNAME}_${BACKEND})
+ 
+-#        INSTALL(TARGETS ${EXAMPLE_NAME} DESTINATION arrayfire/examples)
++        INSTALL(TARGETS ${EXAMPLE_NAME} DESTINATION share/arrayfire/examples)
+      ENDFOREACH()
+ ENDMACRO(CREATE_EXAMPLES)
+ 


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/files/
@ 2015-01-22 10:14 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-01-22 10:14 UTC (permalink / raw
  To: gentoo-commits

commit:     e5ac98a132a0bf596ed8b0d532e4d68069319758
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Thu Jan 22 09:56:32 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Jan 22 09:56:32 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=e5ac98a1

sci-libs/arrayfire: Clean patches

---
 sci-libs/arrayfire/files/CMakeLists_examples.patch | 8 ++++++--
 sci-libs/arrayfire/files/FindCBLAS.patch           | 8 ++++++--
 sci-libs/arrayfire/files/build_gtest.patch         | 8 ++++++--
 3 files changed, 18 insertions(+), 6 deletions(-)

diff --git a/sci-libs/arrayfire/files/CMakeLists_examples.patch b/sci-libs/arrayfire/files/CMakeLists_examples.patch
index 45139f8..89020f6 100644
--- a/sci-libs/arrayfire/files/CMakeLists_examples.patch
+++ b/sci-libs/arrayfire/files/CMakeLists_examples.patch
@@ -1,5 +1,9 @@
---- b/examples/CMakeLists.txt	2015-01-10 12:39:23.000000000 +0100
-+++ a/examples/CMakeLists.txt	2015-01-10 12:40:10.000000000 +0100
+Adjust installation path of examples.
+
+Patch by Marius Brehler.
+
+--- b/examples/CMakeLists.txt
++++ a/examples/CMakeLists.txt
 @@ -13,7 +13,7 @@ MACRO(CREATE_EXAMPLES BACKEND)
          TARGET_LINK_LIBRARIES(${EXAMPLE_NAME} af${BACKEND} ${THREAD_LIB_FLAG})
          SET_TARGET_PROPERTIES(${EXAMPLE_NAME} PROPERTIES COMPILE_FLAGS -DAF_${DEF_NAME} OUTPUT_NAME ${FNAME}_${BACKEND})

diff --git a/sci-libs/arrayfire/files/FindCBLAS.patch b/sci-libs/arrayfire/files/FindCBLAS.patch
index 16c6197..263c62a 100644
--- a/sci-libs/arrayfire/files/FindCBLAS.patch
+++ b/sci-libs/arrayfire/files/FindCBLAS.patch
@@ -1,5 +1,9 @@
---- b/CMakeModules/FindCBLAS.cmake	2015-01-09 14:00:29.328281398 +0100
-+++ a/CMakeModules/FindCBLAS.cmake	2015-01-09 14:02:52.549276153 +0100
+Use pkg-config to find cblas.
+
+Patch by Marius Brehler.
+
+--- b/CMakeModules/FindCBLAS.cmake
++++ a/CMakeModules/FindCBLAS.cmake
 @@ -1,3 +1,9 @@
 +#
 +# Version modified for Gentoo Linux

diff --git a/sci-libs/arrayfire/files/build_gtest.patch b/sci-libs/arrayfire/files/build_gtest.patch
index 24e4b07..4b777c4 100644
--- a/sci-libs/arrayfire/files/build_gtest.patch
+++ b/sci-libs/arrayfire/files/build_gtest.patch
@@ -1,5 +1,9 @@
---- CMakeModules/build_gtest.cmake	2015-01-10 11:27:52.007076159 +0100
-+++ CMakeModules/build_gtest.cmake	2015-01-10 17:36:23.000000000 +0100
+Don't fetch googletest from SVN.
+
+Patch by Marius Brehler.
+
+--- CMakeModules/build_gtest.cmake
++++ CMakeModules/build_gtest.cmake
 @@ -1,27 +1,4 @@
 -#Downloads and installs GTest into the third_party directory
 -


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/files/
@ 2015-09-09  7:11 Justin Lecher
  0 siblings, 0 replies; 4+ messages in thread
From: Justin Lecher @ 2015-09-09  7:11 UTC (permalink / raw
  To: gentoo-commits

commit:     43a0b9d914549f6a43dfead87b3881ee7d1a8202
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Tue Sep  8 13:53:50 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep  8 13:53:50 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=43a0b9d9

sci-libs/arrayfire: Remove files/FindBoostCompute.cmake

Package-Manager: portage-2.2.20.1

 sci-libs/arrayfire/files/FindBoostCompute.cmake | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/sci-libs/arrayfire/files/FindBoostCompute.cmake b/sci-libs/arrayfire/files/FindBoostCompute.cmake
deleted file mode 100644
index d98ea4b..0000000
--- a/sci-libs/arrayfire/files/FindBoostCompute.cmake
+++ /dev/null
@@ -1,18 +0,0 @@
-# Downloads and builds the Boost Compute library from github.com
-# Defines the following variables
-# * BoostCompute_FOUND           Flag for Boost Compute
-# * BoostCompute_INCLUDE_DIR     Location of the Boost Compute headers
-
-
-set(BoostCompute_INCLUDE_DIR "/usr/include/compute")
-SET( BoostCompute_FOUND ON CACHE BOOL "BoostCompute Found" )
-
-
-IF(NOT BoostCompute_FOUND)
-    MESSAGE(FATAL_ERROR, "Boost.Compute not found! Clone Boost.Compute from https://github.com/kylelutz/compute.git")
-ENDIF(NOT BoostCompute_FOUND)
-
-MARK_AS_ADVANCED(
-    BoostCompute_FOUND
-    BoostCompute_INCLUDE_DIR
-    )


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/files/
@ 2020-09-25  2:33 Aisha Tammy
  0 siblings, 0 replies; 4+ messages in thread
From: Aisha Tammy @ 2020-09-25  2:33 UTC (permalink / raw
  To: gentoo-commits

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 <shehzan@arrayfire.com>
-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 <shehzan@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")
- 
--- 
-2.10.2
-


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-09-25  2:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-22 10:14 [gentoo-commits] proj/sci:master commit in: sci-libs/arrayfire/files/ Justin Lecher
  -- strict thread matches above, loose matches on Subject: below --
2020-09-25  2:33 Aisha Tammy
2015-09-09  7:11 Justin Lecher
2015-01-10 18:03 Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox