21 Star 68 Fork 26

koth / kcws

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
BUILD.tf_dist 715 Bytes
一键复制 编辑 原始数据 按行查看 历史
Koth 提交于 2017-03-04 15:54 . fix sentence break and tf dist for mac
# Bazel build file for binary tf
licenses(["notice"])
config_setting(
name = "darwin",
values = {"cpu": "darwin"},
visibility = ["//visibility:public"],
)
filegroup(
name="tf_unix_lib",
srcs=glob(
["lib/unix/*.o"]
)
)
filegroup(
name="tf_mac_lib",
srcs=glob(
["lib/mac/*.o"],
exclude = ["lib/mac/__.SYMDEF_*.o"]
)
)
cc_library(
name="tensorflow",
hdrs = glob(["tensorflow/*","google/*"]),
includes = [
".",
],
alwayslink=1,
visibility = ["//visibility:public"],
deps=[
'@protobuf//:protobuf'
],
srcs=select({
":darwin": [
":tf_mac_lib",
],
"//conditions:default": [
":tf_unix_lib",
],
}),
)
Python
1
https://gitee.com/koth/kcws.git
git@gitee.com:koth/kcws.git
koth
kcws
kcws
master

搜索帮助