Merge pull request #479 from yxsamliu/fix-hipcc

Drop --amdgpu-target= options for hip-clang
이 커밋은 다음에 포함됨:
Maneesh Gupta 작성하고 GitHub가 2018-05-31 09:12:36 +05:30를 커밋함
커밋 c264dcb715
1 파일이 변경됨
+4
+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))
{