Merge pull request #479 from yxsamliu/fix-hipcc

Drop --amdgpu-target= options for hip-clang

[ROCm/hip commit: bbdbcd1fe7]
Цей коміт міститься в:
Maneesh Gupta
2018-05-31 09:12:36 +05:30
зафіксовано GitHub
джерело b92ace4cdb ef02210768
коміт 8de46dfbf4
+4
Переглянути файл
@@ -303,6 +303,10 @@ foreach $arg (@ARGV)
$default_amdgpu_target = 0;
}
# hip-clang does not accept --amdgpu-target= options.
if (($arg =~ /--amdgpu-target=/) and $HIP_PLATFORM eq 'clang' ) {
$swallowArg = 1;
}
if(($trimarg eq '-stdlib=libstdc++') and ($setStdLib eq 0))
{