Closed hoonkai closed 5 years ago
I'll try building v1.14-rc0. But v1.14-rc0 is a pre-release, I do not recommend you to use it. In addition, building a pre-release is often more troublesome.
I've found the cause. cp
command of osx does not accept rLf
as an argument. We need to update third-party/gpus/cuda_configure.bazel
. Find the two lines
cmd = \"""cp -rLf "%s/." "%s/" \""",
)""" % (name, "\n".join(outs), src_dir, out_dir)
and replace it with
cmd = \"""cp -r -f "%s/." "%s/" \""",
)""" % (name, "\n".join(outs), src_dir, out_dir)
Recompile TF and the problem should be solved.
TF 1.14.0rc1 build is available at https://github.com/TomHeaven/tensorflow-osx-build/releases/tag/v1.14.0rc1_cu100.
@TomHeaven Thanks for that!
Hi
I was wondering if you've had the chance to try building v1.14-rc0. I've been trying to build it with Bazel 0.24, but I keep running into the error:
I could proceed by replacing
cp -r
withcp -R
in the generatedBUILD
file, but then this error later gets in the way:Not sure if you have better luck?
Cheers