Skip to content

Commit

Permalink
opal/Makefile.am Remove duplicate symbols for common_cuda
Browse files Browse the repository at this point in the history
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 <wilzhang@amazon.com>
  • Loading branch information
wckzhang committed Apr 8, 2021
1 parent 8427757 commit c81cdd7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions opal/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit c81cdd7

Please sign in to comment.