为什么TensorFlow的go/子目录不使用Bazel rules_go中的go_library?

huangapple go评论156阅读模式
英文:

Why doesn't tensorflow's go/ subdirectory use go_library from Bazel rules_go?

问题

在https://github.com/tensorflow/tensorflow/tree/master/tensorflow/go的README中描述了一个有些不连贯的构建过程。

为什么不使用SWIG和https://github.com/bazelbuild/rules_go中的go规则呢?

英文:

The README in https://github.com/tensorflow/tensorflow/tree/master/tensorflow/go describes a build process that's a bit disjointed.

Why not use SWIG and the go rules in https://github.com/bazelbuild/rules_go?

答案1

得分: 1

这没有什么好的理由,除了"历史偶然性"之外。在rules_go非常成熟之前,Tensorflow已经有了Go代码,所以他们实现了自己的规则。

在过去的几个月里,我全职致力于rules_go。今年我们的主要任务是通过构建所需功能并使规则易于使用,支持Kubernetes迁移到Bazel。当这个工作完成后(很快),我们将开始支持其他使用Bazel和Go的项目。我希望其中包括Tensorflow。

英文:

There's no good reason for this, other than "historical accident". Tensorflow had Go code before rules_go was very mature, so they implemented their own rules.

I've worked on rules_go full time for the past several months. Our main priority this year has been to support Kubernetes' migration to Bazel by building out the features they need and making the rules simple to use. When that effort is completed (soon), we'll move on to supporting other projects using Bazel and Go more directly. I hope this will include Tensorflow.

huangapple
  • 本文由 发表于 2017年8月26日 05:41:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/45889740.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定