[arrayfire] 151/284: Build fix for CUDA backend when using boost 1.60

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Sun Feb 7 18:59:28 UTC 2016


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

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

commit 6988950605c2d075f49873c7db0827a9b8a9b323
Author: Pavan Yalamanchili <pavan at arrayfire.com>
Date:   Sun Jan 3 05:06:36 2016 -0500

    Build fix for CUDA backend when using boost 1.60
---
 src/backend/cuda/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/backend/cuda/CMakeLists.txt b/src/backend/cuda/CMakeLists.txt
index ee7b86f..c2c87b8 100644
--- a/src/backend/cuda/CMakeLists.txt
+++ b/src/backend/cuda/CMakeLists.txt
@@ -57,6 +57,8 @@ FOREACH(VER 20 30 32 35 50 52 53)
 ENDFOREACH()
 
 IF(UNIX)
+    # Forcing STRICT ANSI should resolve a bunch of issues that NVIDIA seems to face with GCC compilers.
+    ADD_DEFINITIONS(-D__STRICT_ANSI__)
     SET(CUDA_NVCC_FLAGS ${CUDA_NVCC_FLAGS} -Xcompiler -fvisibility=hidden)
     REMOVE_DEFINITIONS(-std=c++0x)
     IF(${WITH_COVERAGE})

-- 
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