1

Bring back explicit glibc platform

This commit is contained in:
Motiejus Jakštys 2021-06-10 16:07:48 +03:00 committed by Motiejus Jakštys
parent 31316fd30c
commit 648aeec08b

View File

@ -54,6 +54,7 @@ TARGET_CONFIGS_LISTOFLISTS = [[
constraint_values=[ constraint_values=[
"@platforms//os:linux", "@platforms//os:linux",
"@platforms//cpu:{}".format(cpu), "@platforms//cpu:{}".format(cpu),
":gnu.2.19",
], ],
tool_paths={"ld": "ld.lld"}, tool_paths={"ld": "ld.lld"},
), ),
@ -192,6 +193,11 @@ def zig_build_macro(absolute_path, zig_include_root):
constraint_setting = ":libc", constraint_setting = ":libc",
) )
native.constraint_value(
name = "gnu.2.19",
constraint_setting = ":libc",
)
lazy_filegroups = {} lazy_filegroups = {}
for target_config in TARGET_CONFIGS: for target_config in TARGET_CONFIGS: