Skip to content

Commit

Permalink
Explicitly add gcc/12.2.0 lib path to CMAKE_EXE_LINKER_FLAGS
Browse files Browse the repository at this point in the history
This is a simple workaround to fix scream linking errors after
recent Frontier maintenance before we find better solutions.
  • Loading branch information
dqwu committed Jul 19, 2024
1 parent 555aa19 commit 805ab1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ endif()

string(APPEND CMAKE_Fortran_FLAGS " -hipa0 -hzero -f free")

string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{ROCM_PATH}/lib -lamdhip64")
string(APPEND CMAKE_EXE_LINKER_FLAGS " -L$ENV{ROCM_PATH}/lib -lamdhip64 -L/opt/gcc/12.2.0/snos/lib64")
string(APPEND CMAKE_CXX_FLAGS " -I$ENV{ROCM_PATH}/include")

# Crusher: this resolves a crash in mct in docn init
Expand Down

0 comments on commit 805ab1f

Please sign in to comment.