Skip to content

Commit

Permalink
Merge pull request open-mpi#11273 from edgargabriel/pr/rocm-config-fix
Browse files Browse the repository at this point in the history
config: add rocm lib dir to LDFLAGS
  • Loading branch information
jsquyres authored Jan 8, 2023
2 parents ba46f32 + ac3fb0d commit cf8087d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/opal_check_rocm.m4
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dnl
dnl Copyright (C) 2022 Advanced Micro Devices, Inc. All rights reserved.
dnl Copyright (C) 2022-2023 Advanced Micro Devices, Inc. All rights reserved.
dnl $COPYRIGHT$
dnl
dnl Additional copyrights may follow
Expand Down Expand Up @@ -51,8 +51,10 @@ AC_DEFUN([OPAL_CHECK_ROCM],[
[opal_check_rocm_happy="no"])
LDFLAGS="$rocm_save_LDFLAGS"
OPAL_APPEND([CPPFLAGS], [${$1_CPPFLAGS}] )
LIBS="$rocm_save_LIBS"
OPAL_APPEND([CPPFLAGS], [${$1_CPPFLAGS}] )
OPAL_APPEND([LDFLAGS], [${$1_LDFLAGS}] )
OPAL_APPEND([LIBS], [${$1_LIBS}] )
AS_IF([ test "$opal_check_rocm_happy" = "no" ],
[ CPPFLAGS="$rocm_save_CPPFLAGS"])
Expand Down

0 comments on commit cf8087d

Please # to comment.