Merge pull request #752 from yxsamliu/fix-bundle
Let hipcc handle clang-offload-bundler file in obj format for hip-clang
[ROCm/clr commit: 02a0df641f]
Este cometimento está contido em:
@@ -498,6 +498,10 @@ foreach $arg (@ARGV)
|
||||
$obj = "$tmpdir/$obj";
|
||||
my $fileType = `file $obj`;
|
||||
my $isObj = ($fileType =~ m/ELF/ or $fileType =~ m/COFF/);
|
||||
if ($fileType =~ m/ELF/) {
|
||||
my $sections = `readelf -e -W $obj`;
|
||||
$isObj = !($sections =~ m/__CLANG_OFFLOAD_BUNDLE__/);
|
||||
}
|
||||
$allIsObj = ($allIsObj and $isObj);
|
||||
if ($isObj) {
|
||||
$realObjs = ($realObjs . " " . $obj);
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador