From ac9820c46fa1c3049efa5715563c7fbe885e3e99 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 24 Nov 2013 17:06:51 +0000 Subject: [PATCH] Link against common cuda library Thanks to Jorg Bornschein for pointing it out cmr=v1.7.4:reviewer=rolfv This commit was SVN r29750. --- ompi/mca/pml/ob1/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ompi/mca/pml/ob1/Makefile.am b/ompi/mca/pml/ob1/Makefile.am index 89a7a1f53e..eb6bd3dda4 100644 --- a/ompi/mca/pml/ob1/Makefile.am +++ b/ompi/mca/pml/ob1/Makefile.am @@ -67,6 +67,11 @@ mcacomponent_LTLIBRARIES = $(component_install) mca_pml_ob1_la_SOURCES = $(ob1_sources) mca_pml_ob1_la_LDFLAGS = -module -avoid-version +if OPAL_cuda_support +mca_pml_ob1_la_LIBADD = \ + $(top_ompi_builddir)/ompi/mca/common/cuda/libmca_common_cuda.la +endif + noinst_LTLIBRARIES = $(component_noinst) libmca_pml_ob1_la_SOURCES = $(ob1_sources) libmca_pml_ob1_la_LDFLAGS = -module -avoid-version