SWDEV-435276 - Use -mllvm=<option> syntax rather than -mllvm <option> syntax
Separating -mllvm from its option can cause, in rare circumstances, the option to be dropped. Or the mllvm to be dropped. Either of which can cause a compilation error. This issue was exposed investigating SWDEV-435276 Change-Id: Ie665d49183b55a57c9b58619cad525e44f3be8a5
Этот коммит содержится в:
коммит произвёл
Mark Searles
родитель
b8e820f835
Коммит
704d5df91b
@@ -130,7 +130,7 @@ endif()
|
||||
get_property(compilePropIsSet TARGET hip::device PROPERTY INTERFACE_COMPILE_OPTIONS SET)
|
||||
|
||||
if (NOT compilePropIsSet AND HIP_CXX_COMPILER MATCHES ".*clang\\+\\+")
|
||||
hip_add_interface_compile_flags(hip::device -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false)
|
||||
hip_add_interface_compile_flags(hip::device -mllvm=-amdgpu-early-inline-all=true -mllvm=-amdgpu-function-calls=false)
|
||||
endif()
|
||||
|
||||
if (NOT compilePropIsSet)
|
||||
|
||||
Ссылка в новой задаче
Block a user