Skip to content

Commit 03a82f3

Browse files
authored
Update Clang toolchain used by Bazel (#1976)
LLVM-libc baremetal build now includes `mktime` so we no longer need to provide our own declaration in the polyfill header.
1 parent fa91723 commit 03a82f3

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

MODULE.bazel

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,34 +69,34 @@ http_archive(
6969
http_archive(
7070
name = "clang_linux-x86_64",
7171
build_file = "//bazel/toolchain:clang.BUILD",
72-
sha256 = "e12ee0db9226f5b4a4400c5eb2c0f757d7056181b651622b5453acb00105fd87",
72+
sha256 = "6c599d1aba568236064c340d7813324849896d5a4e2f3fd8225a8c31bfcbf884",
7373
type = "zip",
74-
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/linux-amd64/+/git_revision:248c53429427034f45705af60d47f3b1090c4799",
74+
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/linux-amd64/+/git_revision:2b0a708f41dd6291ee744704d43febc975e3d026",
7575
)
7676

7777
http_archive(
7878
name = "clang_win-x86_64",
7979
build_file = "//bazel/toolchain:clang.BUILD",
80-
sha256 = "8c41e8b507f4dfede80842f98a716cac209f552064088fa1b7f4c64a1e547534",
80+
sha256 = "f49ba4123ee3958f2b47289d017a5b3f1ca01f82dd7a2168c45412c18101fd13",
8181
type = "zip",
8282
# Windows doesn't like `:` in the produced filename, so replace it with `%3A`.
83-
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/windows-amd64/+/git_revision:248c53429427034f45705af60d47f3b1090c4799".replace("git_revision:", "git_revision%3A"),
83+
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/windows-amd64/+/git_revision:2b0a708f41dd6291ee744704d43febc975e3d026".replace("git_revision:", "git_revision%3A"),
8484
)
8585

8686
http_archive(
8787
name = "clang_mac-x86_64",
8888
build_file = "//bazel/toolchain:clang.BUILD",
89-
sha256 = "1d92f52609d3c1e958fd56f5e9a68ab99b2042ddcc6e90a5eb5009cf7ac4897d",
89+
sha256 = "d3516f2eb4c12d17ae77ee84c9226fbea581d4fb806910ceac4717d5adfcf748",
9090
type = "zip",
91-
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-amd64/+/git_revision:248c53429427034f45705af60d47f3b1090c4799",
91+
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-amd64/+/git_revision:2b0a708f41dd6291ee744704d43febc975e3d026",
9292
)
9393

9494
http_archive(
9595
name = "clang_mac-aarch64",
9696
build_file = "//bazel/toolchain:clang.BUILD",
97-
sha256 = "53184680db7e0043a8fba1556c7644b8f5e6c8cdffa4436a92a8e8adb0f45b8d",
97+
sha256 = "68e551f41c7e9473063b09819f6ab8ec6e7e53677f4078189656cb14dc52984b",
9898
type = "zip",
99-
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-arm64/+/git_revision:248c53429427034f45705af60d47f3b1090c4799",
99+
url = "https://chrome-infra-packages.appspot.com/dl/fuchsia/third_party/clang/mac-arm64/+/git_revision:2b0a708f41dd6291ee744704d43febc975e3d026",
100100
)
101101

102102
# TODO: Provide tinyusb as a proper Bazel module.

src/rp2_common/pico_clib_interface/include/llvm_libc/time.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
__BEGIN_C_DECLS
1616

17-
time_t mktime(struct tm* arg);
1817
struct tm* localtime_r(const time_t* timer, struct tm* buf);
1918

2019
__END_C_DECLS

0 commit comments

Comments
 (0)