From c81cdd76897499fb42099ef784fb2dfd86cc9f06 Mon Sep 17 00:00:00 2001 From: William Zhang Date: Wed, 7 Apr 2021 19:10:19 -0700 Subject: [PATCH] opal/Makefile.am Remove duplicate symbols for common_cuda These symbols were causing compilation errors with cuda and the new default statically linked components. Explicitly including common_cuda is unnecessary because the MCA system adds it, which, when built as a static library, caused duplicates. Issue #8736 Signed-off-by: William Zhang --- opal/Makefile.am | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opal/Makefile.am b/opal/Makefile.am index 8c208632dd2..cc751db342f 100644 --- a/opal/Makefile.am +++ b/opal/Makefile.am @@ -86,12 +86,6 @@ lib@OPAL_LIB_PREFIX@open_pal_la_DEPENDENCIES = \ mca/base/libmca_base.la \ util/libopalutil.la \ $(MCA_opal_FRAMEWORK_LIBS) -if OPAL_cuda_support -lib@OPAL_LIB_PREFIX@open_pal_la_LIBADD += \ - mca/common/cuda/libmca_common_cuda.la -lib@OPAL_LIB_PREFIX@open_pal_la_DEPENDENCIES += \ - mca/common/cuda/libmca_common_cuda.la -endif lib@OPAL_LIB_PREFIX@open_pal_la_LDFLAGS = -version-info $(libopen_pal_so_version) \ $(opal_libevent_LDFLAGS) \ $(opal_hwloc_LDFLAGS) \