Add workaround to hipcc for build failure in tensorflow due to missing symbol __cpu_model

https://github.com/tensorflow/tensorflow/issues/9593
Tento commit je obsažen v:
Yaxun (Sam) Liu committed 2018-06-25 18:14:51 -04:00
1 rodič 272c16d34e
revize 632baba353
1 file changed
+3
+3
Zobrazit soubor
@@ -601,6 +601,9 @@ if ($needLDFLAGS and not $compileOnly) {
$CMD .= " $HIPLDFLAGS";
}
$CMD .= " $toolArgs";
if ($needLDFLAGS and not $compileOnly and $HIP_PLATFORM eq "clang") {
$CMD .= " -lgcc_s -lgcc";
}
if ($verbose & 0x1) {
print "hipcc-cmd: ", $CMD, "\n";