packages feed

cuda 0.3.2.1 → 0.3.2.2

raw patch · 3 files changed

+36/−10 lines, 3 files

Files

configure view
@@ -2558,6 +2558,19 @@  # Make sure both the driver and runtime are found #+longerror='+********************************************************************************++The configuration process failed to locate your CUDA installation. Ensure that+you have installed the driver and developer toolkit, available from:++  http://developer.nvidia.com/object/cuda.html++Then make sure that "nvcc" is available in your PATH, or set the appropriate+directories with --extra-include-dirs and --extra-lib-dirs.++********************************************************************************'+ ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'@@ -4014,8 +4027,8 @@ _ACEOF  else-  { { echo "$as_me:$LINENO: error: could not find CUDA headers" >&5-echo "$as_me: error: could not find CUDA headers" >&2;}+  { { echo "$as_me:$LINENO: error: could not find CUDA headers${longerror}" >&5+echo "$as_me: error: could not find CUDA headers${longerror}" >&2;}    { (exit 1); exit 1; }; } fi @@ -4103,8 +4116,8 @@   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"  else-  { { echo "$as_me:$LINENO: error: could not find CUDA driver library" >&5-echo "$as_me: error: could not find CUDA driver library" >&2;}+  { { echo "$as_me:$LINENO: error: could not find CUDA driver library${longerror}" >&5+echo "$as_me: error: could not find CUDA driver library${longerror}" >&2;}    { (exit 1); exit 1; }; } fi @@ -4190,8 +4203,8 @@   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"  else-  { { echo "$as_me:$LINENO: error: could not find CUDA runtime library" >&5-echo "$as_me: error: could not find CUDA runtime library" >&2;}+  { { echo "$as_me:$LINENO: error: could not find CUDA runtime library${longerror}" >&5+echo "$as_me: error: could not find CUDA runtime library${longerror}" >&2;}    { (exit 1); exit 1; }; } fi 
configure.ac view
@@ -41,9 +41,22 @@  # Make sure both the driver and runtime are found #-AC_CHECK_HEADERS([cuda.h cuda_runtime_api.h], [], [AC_MSG_ERROR(could not find CUDA headers)])-AC_SEARCH_LIBS(cuDriverGetVersion,    cuda,   [], [AC_MSG_ERROR(could not find CUDA driver library)])-AC_SEARCH_LIBS(cudaRuntimeGetVersion, cudart, [], [AC_MSG_ERROR(could not find CUDA runtime library)])+longerror='+********************************************************************************++The configuration process failed to locate your CUDA installation. Ensure that+you have installed the driver and developer toolkit, available from:++  http://developer.nvidia.com/object/cuda.html++Then make sure that "nvcc" is available in your PATH, or set the appropriate+directories with --extra-include-dirs and --extra-lib-dirs.++********************************************************************************'++AC_CHECK_HEADERS([cuda.h cuda_runtime_api.h], [], [AC_MSG_ERROR(could not find CUDA headers${longerror})])+AC_SEARCH_LIBS(cuDriverGetVersion,    cuda,   [], [AC_MSG_ERROR(could not find CUDA driver library${longerror})])+AC_SEARCH_LIBS(cudaRuntimeGetVersion, cudart, [], [AC_MSG_ERROR(could not find CUDA runtime library${longerror})])  # Populate the buildinfo, with the search paths and any target specific options #
cuda.cabal view
@@ -1,5 +1,5 @@ Name:                   cuda-Version:                0.3.2.1+Version:                0.3.2.2 Synopsis:               FFI binding to the CUDA interface for programming NVIDIA GPUs Description:     The CUDA library provides a direct, general purpose C-like SPMD programming