提交 de496865 编写于 作者: 叶剑武

Merge branch 'support-latest-bazel' into 'master'

Fix version script bug to support latest bazel.

See merge request !852
......@@ -49,18 +49,24 @@ cc_binary(
linkopts = [
"-Wl,-soname,libmace.so",
"-Wl,--version-script",
"mace_version_script.lds",
"$(location //mace/libmace:mace_version_script.lds)",
] + if_openmp_enabled([
"-fopenmp",
]),
linkshared = 1,
linkstatic = 1,
deps = [
":mace_version_script.lds",
"//mace/libmace:mace_version_script.lds",
"//mace/libmace",
],
)
exports_files(
[
"mace_version_script.lds",
],
)
cc_library(
name = "libmace_dynamic",
srcs = ["libmace.so"],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册