[MacPorts] #62474: tensorflow build fails on 10.15
MacPorts
noreply at macports.org
Fri May 19 22:32:26 UTC 2023
#62474: tensorflow build fails on 10.15
----------------------------+----------------------
Reporter: essandess | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords:
Port: py-tensorflow |
----------------------------+----------------------
Comment (by mascguy):
Replying to [comment:27 mascguy]:
> Currently looking at options to fix the build for 10.14 and 10.15, which
presently fails with "argument list too long." There's at least one
proposed patch for Bazel, which might finally resolve these issues. Stay
tuned!
In case anyone's interested in the details, the upstream discussion is
here:
*
[https://github.com/bazelbuild/bazel/issues/14530#issuecomment-1167132417
14530 - error: argument list too long]
The author of the patches implemented incremental linking, to avoid a
single massive final link command.
The proposed changes - albeit a year old, so they may need some
modifications - are here:
* [https://github.com/llv22/bazel-
macOS-10.13.6/blob/baad0cae14ec6679ee6c77bb4c06d8b8f709c8f6/src/main/java/com/google/devtools/build/lib/rules/cpp/CppLinkAction.java
Bazel Incremental Linking - Core Code]
* [https://github.com/llv22/bazel-
macOS-10.13.6/blob/baad0cae14ec6679ee6c77bb4c06d8b8f709c8f6/src/test/java/com/google/devtools/build/lib/rules/cpp/CppLinkActionTest.java
Bazel Incremental Linking - Test Code]
--
Ticket URL: <https://trac.macports.org/ticket/62474#comment:28>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list