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


[ROCm/clr commit: 704d5df91b]
Этот коммит содержится в:
Mark Searles authored and Mark Searles committed 2023-12-13 13:32:51 -05:00
1 родитель 5e1985996c
Коммит 8b94eaf0a6
1 file changed
+1 -1
+1 -1
Просмотреть файл
@@ -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)