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: Id6cfdad1f94b735813271f251cae9005d6799198
This commit is contained in:
committato da
Mark Searles
parent
42e9e4adc5
commit
e193b7cfee
@@ -84,7 +84,7 @@ set_target_properties(hip-lang::device PROPERTIES
|
||||
)
|
||||
|
||||
set_property(TARGET hip-lang::device APPEND PROPERTY
|
||||
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:SHELL:-mllvm;-amdgpu-early-inline-all=true;-mllvm;-amdgpu-function-calls=false>"
|
||||
INTERFACE_COMPILE_OPTIONS "$<$<COMPILE_LANGUAGE:HIP>:SHELL:-mllvm=-amdgpu-early-inline-all=true;-mllvm=-amdgpu-function-calls=false>"
|
||||
)
|
||||
|
||||
set_property(TARGET hip-lang::device APPEND PROPERTY
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user