Merge pull request #539 from ROCm-Developer-Tools/fix-tf-link

Add workaround to hipcc for build failure in tensorflow due to missin…

[ROCm/clr commit: 874af1bf7d]
Este commit está contenido en:
Maneesh Gupta
2018-07-04 11:08:52 +05:30
cometido por GitHub
+3
Ver fichero
@@ -626,6 +626,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";