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

Add workaround to hipcc for build failure in tensorflow due to missin…
Ta zmiana jest zawarta w:
Maneesh Gupta authored and GitHub committed 2018-07-04 11:08:52 +05:30
złożenie 66f12daaa4
Plik 1 zmieniony
+3
+3
Wyświetl plik
@@ -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";