Add GPULDLIBS into Make.inc (and fix configry)

repack-precuda
sfilippone 1 year ago
parent d0d4e45877
commit 81e9121c91

@ -69,6 +69,7 @@ CBINDLIBNAME=libpsb_cbind.a
GPUD=@GPUD@
GPULD=@GPULD@
LGPU=@LGPU@
SPGPUDIR=@SPGPU_DIR@
SPGPU_INCDIR=@SPGPU_INCDIR@
@ -92,3 +93,4 @@ CUDEFINES=@CUDEFINES@
@PSBLASRULES@
PSBGPULDLIBS=$(LGPU) $(SPGPU_LIBS) $(CUDA_LIBS) $(LIBS)

3
configure vendored

@ -653,6 +653,7 @@ ac_subst_vars='am__EXEEXT_FALSE
am__EXEEXT_TRUE
LTLIBOBJS
LIBOBJS
LGPU
GPULD
GPUD
CUDEFINES
@ -11020,6 +11021,7 @@ CPPFLAGS="$SAVE_CPPFLAGS"
if test "x$pac_cv_have_spgpu" == "xyes" ; then
GPUD=gpud;
GPULD=gpuld;
LGPU="-lpsb_gpu";
EXTRALDLIBS="-lstdc++";
fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: At this point GPUTARGET is $GPUD $GPULD" >&5
@ -11161,6 +11163,7 @@ FDEFINES=$(PSBFDEFINES)
###############################################################################

@ -802,6 +802,7 @@ PAC_CHECK_SPGPU()
if test "x$pac_cv_have_spgpu" == "xyes" ; then
GPUD=gpud;
GPULD=gpuld;
LGPU="-lpsb_gpu";
EXTRALDLIBS="-lstdc++";
fi
AC_MSG_NOTICE([At this point GPUTARGET is $GPUD $GPULD])
@ -933,6 +934,7 @@ AC_SUBST(CUDA_NVCC)
AC_SUBST(CUDEFINES)
AC_SUBST(GPUD)
AC_SUBST(GPULD)
AC_SUBST(LGPU)
###############################################################################
# the following files will be created by Automake

Loading…
Cancel
Save