Consume the code obj args to prevent duplicates
[ROCm/hip commit: 2cd34f3c01]
This commit is contained in:
@@ -424,8 +424,14 @@ foreach $arg (@ARGV)
|
|||||||
$swallowArg = 1;
|
$swallowArg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (($trimarg eq '-mno-code-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
|
||||||
|
$useCodeObjectV3 = 0;
|
||||||
|
$swallowArg = 1;
|
||||||
|
}
|
||||||
|
|
||||||
if (($trimarg eq '-mcode-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
|
if (($trimarg eq '-mcode-object-v3') and ($HIP_PLATFORM eq 'clang') ) {
|
||||||
$useCodeObjectV3 = 1;
|
$useCodeObjectV3 = 1;
|
||||||
|
$swallowArg = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {
|
if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user