[arrayfire] 117/408: fix forge dependency target errors in cpu, opencl backends

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:11:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit eb9367a730d1966f76d35fce1fd0a5eeb791b69b
Author: pradeep <pradeep at arrayfire.com>
Date:   Tue Jul 7 13:58:15 2015 -0400

    fix forge dependency target errors in cpu, opencl backends
---
 src/backend/cpu/CMakeLists.txt    | 4 ++--
 src/backend/opencl/CMakeLists.txt | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/backend/cpu/CMakeLists.txt b/src/backend/cpu/CMakeLists.txt
index dd1b1b5..ab1e0a6 100644
--- a/src/backend/cpu/CMakeLists.txt
+++ b/src/backend/cpu/CMakeLists.txt
@@ -115,7 +115,7 @@ IF(DEFINED BLAS_SYM_FILE)
               ${c_sources}
               ${cpp_sources})
 
-  IF(FORGE_FOUND)
+  IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE)
     ADD_DEPENDENCIES(afcpu_static forge)
   ENDIF()
 
@@ -148,7 +148,7 @@ TARGET_LINK_LIBRARIES(afcpu
                             PRIVATE ${CBLAS_LIBRARIES}
                             PRIVATE ${FFTW_LIBRARIES})
 
-IF(FORGE_FOUND)
+IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE)
   ADD_DEPENDENCIES(afcpu forge)
 ENDIF()
 
diff --git a/src/backend/opencl/CMakeLists.txt b/src/backend/opencl/CMakeLists.txt
index 9b8576c..3c6bc37 100644
--- a/src/backend/opencl/CMakeLists.txt
+++ b/src/backend/opencl/CMakeLists.txt
@@ -191,7 +191,7 @@ IF(DEFINED BLAS_SYM_FILE)
                ${cpp_sources})
 
 
-    IF(FORGE_FOUND)
+    IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE)
         ADD_DEPENDENCIES(afopencl_static forge)
     ENDIF()
 
@@ -238,7 +238,7 @@ TARGET_LINK_LIBRARIES(afopencl
                                 PRIVATE ${CMAKE_DL_LIBS}
                                 PRIVATE ${Boost_LIBRARIES})
 
-IF(FORGE_FOUND)
+IF(FORGE_FOUND AND NOT USE_SYSTEM_FORGE)
     ADD_DEPENDENCIES(afopencl forge)
 ENDIF()
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git



More information about the debian-science-commits mailing list