Commit 73b6eb1d authored by Karl Wette's avatar Karl Wette
Browse files

Fixes to fixes to CUDA configuration

- typo in setting CPPFLAGS in lalsuite_build.m4
- rename CUDA_CFLAGS to CUDA_CPPFLAGS in lal.pc.in
Original: 82f895efeef095e0f654bb011c7529c5adbfe714
parent 78e573f7
# lalsuite_build.m4 - top level build macros
#
# serial 36
# serial 37
AC_DEFUN([LALSUITE_REQUIRE_CXX],[
# require a C++ compiler
......@@ -438,7 +438,7 @@ AC_ARG_WITH(
CUDA_LIBS="-L${cuda_path}/${cuda_libdir} -Wl,-rpath -Wl,${cuda_path}/${cuda_libdir} -lcufft -lcudart"
CUDA_CPPFLAGS="-I${with_cuda}/include"
LIBS="$LIBS $CUDA_LIBS"
CPPFLAGS="$CFLAGS $CUDA_CPPFLAGS"
CPPFLAGS="$CPPFLAGS $CUDA_CPPFLAGS"
AC_SUBST(CUDA_LIBS)
AC_SUBST(CUDA_CPPFLAGS)
AC_PATH_PROGS(NVCC,[nvcc],[],[${cuda_path}/bin:${PATH}])
......
......@@ -8,4 +8,4 @@ Description: LSC Algorithm Library
Version: @VERSION@
Requires: gsl fftw3 fftw3f
Libs: -L${libdir} -llal @CUDA_LIBS@ @BOINC_LIBS@
Cflags: -I${includedir} @CUDA_CFLAGS@ @BOINC_CFLAGS@
Cflags: -I${includedir} @CUDA_CPPFLAGS@ @BOINC_CFLAGS@
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment