Upgrade to Python 3
Python 3 tools must be listed in exec_tools for genrules. PiperOrigin-RevId: 286241702
This commit is contained in:
parent
64d00cc63d
commit
803437c96b
|
@ -68,14 +68,14 @@ genrule(
|
|||
"&& $(location :check_vdso) " +
|
||||
"--check-data " +
|
||||
"--vdso $(location vdso.so) ",
|
||||
exec_tools = [
|
||||
":check_vdso",
|
||||
],
|
||||
features = ["-pie"],
|
||||
toolchains = [
|
||||
"@bazel_tools//tools/cpp:current_cc_toolchain",
|
||||
":no_pie_cc_flags",
|
||||
],
|
||||
tools = [
|
||||
":check_vdso",
|
||||
],
|
||||
visibility = ["//:sandbox"],
|
||||
)
|
||||
|
||||
|
@ -87,6 +87,6 @@ cc_flags_supplier(
|
|||
py_binary(
|
||||
name = "check_vdso",
|
||||
srcs = ["check_vdso.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
visibility = ["//:sandbox"],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue