环境:tensorflow1.14 、cuda 10
编译报错,强行修改以下文件:
tensorflow/third_party/gpus/cuda_configure.bzl
屏蔽代码如下:
553 #if check_soname and objdump != None and not _is_windows(repository_ctx):
554 # output = repository_ctx.execute([objdump, "-p", str(path)]).stdout
555 # output = [line for line in output.splitlines() if "SONAME" in line]
556 # sonames = [line.strip().split(" ")[-1] for line in output]
557 #if not any([soname == path.basename for soname in sonames]):
558 # mismatches.append(str(path))
559 # continue