提交 b7c1990e 编写于 作者: 刘琦

Merge branch 'fix_model_build_in_host' into 'master'

fix model build on host

See merge request !746
......@@ -23,7 +23,8 @@ genrule(
":libmodels",
],
outs = ["libgenerated_models.a"],
cmd = "$(STRIP) -x $(SRCS) -o $@",
cmd = "binary=`echo $(locations :libmodels) | xargs -n 1 | grep libmodels.a`;" +
"$(STRIP) -x $$binary -o $@",
visibility = ["//visibility:public"],
)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册