SWDEV-410266 - Do not show clangrt options support warning when HIP_CXX_COMPILER is not clang
Change-Id: Ie87ee04daaddc4297a1698b18d0f2d79deee5ae1
[ROCm/clr commit: 84559d0d6f]
This commit is contained in:
@@ -148,7 +148,9 @@ execute_process(
|
||||
RESULT_VARIABLE CLANGRT_BUILTINS_FETCH_EXIT_CODE)
|
||||
|
||||
if( CLANGRT_Error )
|
||||
message( STATUS "${HIP_CXX_COMPILER}: CLANGRT compiler options not supported.")
|
||||
if (HIP_CXX_COMPILER MATCHES ".*clang\\+\\+")
|
||||
message( STATUS "${HIP_CXX_COMPILER}: CLANGRT compiler options not supported.")
|
||||
endif()
|
||||
else()
|
||||
# Add support for __fp16 and _Float16, explicitly link with compiler-rt
|
||||
if( "${CLANGRT_BUILTINS_FETCH_EXIT_CODE}" STREQUAL "0" )
|
||||
|
||||
Reference in New Issue
Block a user