Open dan-zheng opened 5 years ago
Randomly, I feel Swift JIRA would be a better fit for this issue, since no change in this repo is necessary for the intended task to complete.
since no change in this repo is necessary for the intended task to complete.
Utilities/build-script-helper.py
should be added to this repository, following the script-by-the same-name from SourceKit LSP.
Ok, thanks for the context!
Currently,
tensorflow/swift-apis
is cloned as anapple/swift
build product and is built as part of the Swift standard library. (relevant CMake support)However, we would like to move
TensorFlow
out of the stdlib and inject it into toolchains. This would involve:TensorFlow
).swift build
with the toolchain to buildTensorFlow
.swift build
artifacts into the toolchain.We've investigated ad-hoc ways of doing the steps above, but it turns out SourceKit LSP has set up infrastructure for doing the same thing.
Todos
We can remove the stdlib CMake support for
TensorFlow
.We can copy two files:
End result
TensorFlow
will no longer be built as part of the standard library.apple/swift
compiler developers will not be able to directly import/testTensorFlow
.TensorFlow
will be injected into toolchains when runningutils/build-toolchain-tensorflow
, much like SourceKit LSP.We could also do these steps for the Python module and the Quote module.