Bump LLVM version of the OSS build and remove reference to the `llvm_disable_optional_support_deps`
OSS build https://buildkite.com/bazel/crubit/builds/918#01887140-6750-4181-bb70-ca4eb82c3f64 failed, most likely because lifetime_analysis uses a function that got introduced very recently.
While bumping the LLVM version to `afb73f7a913ec8e7e8704afe18784571f320ebf6` and testing the change locally, the build failed due to missing `llvm_disable_optional_support_deps`, which [was recently removed](https://github.com/llvm/llvm-project/commit/7b5d6cd7fcac2b9e06338f2497fed9039360924a#diff-176ef3798608bb3fcb9a8a6341bbd6fd2eb2df52967d443dd2b0cb0a393a5681). Thus remove references to it in Crubit as well. Then I ran into `llvm-project/llvm/BUILD.bazel:184:11: no such package '@llvm_zlib//': The repository '@llvm_zlib' could not be resolved: Repository '@llvm_zlib' is not defined and referenced by '@llvm-project//llvm:Support'`, so add `llvm_zlib` to dependencies as well.
PiperOrigin-RevId: 536735152
diff --git a/bazel/llvm.bzl b/bazel/llvm.bzl
index 7221a08..5268ea1 100644
--- a/bazel/llvm.bzl
+++ b/bazel/llvm.bzl
@@ -58,10 +58,10 @@
new_git_repository(
name = "llvm-raw",
build_file_content = "# empty",
- commit = "c8525e980bca1600feff00b5b8579cbbdd3dcf1a",
+ commit = "afb73f7a913ec8e7e8704afe18784571f320ebf6",
# `shallow_since` is not required but it improves the performance of CI
# builds.
- shallow_since = "1680799311 -0700",
+ shallow_since = "1685492206 -0700",
remote = "https://github.com/llvm/llvm-project.git",
)