From f46d2a301024cadaab4d4fb77b6eab74121c645e Mon Sep 17 00:00:00 2001 From: Yaxun Sam Liu Date: Thu, 28 Feb 2019 11:19:35 -0500 Subject: [PATCH] Revert "Consume the code obj args to prevent duplicates" This reverts commit b19e4b5b63efeaaf70f0a602fc2a8a57136f3bd3. [ROCm/hip commit: 737972d31c92bedb590376f639532134bcf56a92] --- projects/hip/bin/hipcc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index 4c6a5ded07..b649bb6e7f 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -424,14 +424,8 @@ 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' ) {