Merge pull request #923 from aaronenyeshi/fix-co-v3-arg

Consume the code obj args to prevent duplicates

[ROCm/hip commit: 53f98edc3d]
Cette révision appartient à :
Maneesh Gupta a créé et GitHub a révisé 2019-02-22 13:38:08 +05:30
révision 2e52e50010
1 fichier modifié
+6
+6
Voir le fichier
@@ -424,8 +424,14 @@ foreach $arg (@ARGV)
$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') ) {
$useCodeObjectV3 = 1;
$swallowArg = 1;
}
if (($arg =~ /--genco/) and $HIP_PLATFORM eq 'clang' ) {