File tree Expand file tree Collapse file tree 3 files changed +729
-4
lines changed
Expand file tree Collapse file tree 3 files changed +729
-4
lines changed Original file line number Diff line number Diff line change @@ -99,3 +99,19 @@ selects.config_setting_group(
9999 ":unspecified_arm" ,
100100 ],
101101)
102+
103+ selects .config_setting_group (
104+ name = "aarch64_debian" ,
105+ match_all = [
106+ "@platforms//cpu:aarch64" ,
107+ "glibc_2_31" ,
108+ ],
109+ )
110+
111+ selects .config_setting_group (
112+ name = "x86_64_debian" ,
113+ match_all = [
114+ "@platforms//cpu:x86_64" ,
115+ "glibc_2_31" ,
116+ ],
117+ )
Original file line number Diff line number Diff line change @@ -60,30 +60,30 @@ def aarch64_sysroot():
6060 maybe (
6161 http_archive ,
6262 name = "aarch64-sysroot" ,
63- sha256 = "9bd27c7ec6aa4bd3d4df60cd04228669bcf366aec32d4b4dc7b504de2f63121e " ,
63+ sha256 = "b720ec47e4b53db12cd2f5fbf2c162be9a07a3e2f699be6cf2912a570001f39f " ,
6464 build_file_content = """
6565filegroup(
6666 name = "aarch64-sysroot",
6767 srcs = glob(["*/**"]),
6868 visibility = ["//visibility:public"],
6969)
7070 """ ,
71- url = "https://github.com/swift-nav/swift-toolchains/releases/download/bullseye-aarch64- sysroot-v1 /debian_bullseye_aarch64_sysroot.tar.xz" ,
71+ url = "https://github.com/swift-nav/swift-toolchains/releases/download/bullseye-sysroot-v2 /debian_bullseye_aarch64_sysroot.tar.xz" ,
7272 )
7373
7474def x86_64_sysroot ():
7575 maybe (
7676 http_archive ,
7777 name = "x86_64-sysroot" ,
78- sha256 = "a19dd3fe4a61d0e1a18f197be1b0c9a2a06b1deabaff2f1479cfcc2cb0df85d1 " ,
78+ sha256 = "becd9de3af6e4e8bc1bc116d77dbde6ab28ebd5a77d59adaa5380ee936a1f541 " ,
7979 build_file_content = """
8080filegroup(
8181 name = "x86_64-sysroot",
8282 srcs = glob(["*/**"]),
8383 visibility = ["//visibility:public"],
8484)
8585 """ ,
86- url = "https://github.com/swift-nav/swift-toolchains/releases/download/bullseye-x86_64- sysroot-v1 /debian_bullseye_x86_64_sysroot.tar.xz" ,
86+ url = "https://github.com/swift-nav/swift-toolchains/releases/download/bullseye-sysroot-v2 /debian_bullseye_x86_64_sysroot.tar.xz" ,
8787 )
8888
8989def register_swift_cc_toolchains ():
You can’t perform that action at this time.
0 commit comments