File tree 3 files changed +729
-4
lines changed
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(
99
99
":unspecified_arm" ,
100
100
],
101
101
)
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():
60
60
maybe (
61
61
http_archive ,
62
62
name = "aarch64-sysroot" ,
63
- sha256 = "9bd27c7ec6aa4bd3d4df60cd04228669bcf366aec32d4b4dc7b504de2f63121e " ,
63
+ sha256 = "b720ec47e4b53db12cd2f5fbf2c162be9a07a3e2f699be6cf2912a570001f39f " ,
64
64
build_file_content = """
65
65
filegroup(
66
66
name = "aarch64-sysroot",
67
67
srcs = glob(["*/**"]),
68
68
visibility = ["//visibility:public"],
69
69
)
70
70
""" ,
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" ,
72
72
)
73
73
74
74
def x86_64_sysroot ():
75
75
maybe (
76
76
http_archive ,
77
77
name = "x86_64-sysroot" ,
78
- sha256 = "a19dd3fe4a61d0e1a18f197be1b0c9a2a06b1deabaff2f1479cfcc2cb0df85d1 " ,
78
+ sha256 = "becd9de3af6e4e8bc1bc116d77dbde6ab28ebd5a77d59adaa5380ee936a1f541 " ,
79
79
build_file_content = """
80
80
filegroup(
81
81
name = "x86_64-sysroot",
82
82
srcs = glob(["*/**"]),
83
83
visibility = ["//visibility:public"],
84
84
)
85
85
""" ,
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" ,
87
87
)
88
88
89
89
def register_swift_cc_toolchains ():
You can’t perform that action at this time.
0 commit comments