Link against libc++ only on hcc platform
Change-Id: I93569a5b8a9910dca0c88408cbe54fbb32384fcf
[ROCm/hip commit: 87f402327e]
此提交包含在:
@@ -100,7 +100,9 @@ endmacro()
|
||||
# Make a hip executable, using libc++
|
||||
macro (make_hip_executable_libcpp exe cpp)
|
||||
make_hip_executable( ${exe} ${cpp} ${ARGN} )
|
||||
set_source_files_properties (${cpp} i${ARGN} PROPERTIES COMPILE_FLAGS --stdlib=libc++ )
|
||||
if (${HIP_PLATFORM} STREQUAL "hcc")
|
||||
set_source_files_properties (${cpp} i${ARGN} PROPERTIES COMPILE_FLAGS --stdlib=libc++ )
|
||||
endif()
|
||||
endmacro()
|
||||
|
||||
macro (make_named_test exe testname )
|
||||
|
||||
新增問題並參考
封鎖使用者