Skip to content

Commit

Permalink
[build] Fix deprecation warnings with Xcode 16
Browse files Browse the repository at this point in the history
  • Loading branch information
fhanau committed Sep 19, 2024
1 parent c5152e9 commit bb0f8a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ build --per_file_copt='external/zlib@-Wno-unknown-warning-option,-Wno-deprecated
build --host_per_file_copt='external/zlib@-Wno-unknown-warning-option,-Wnodeprecated-non-prototype'
# for some reason tcmalloc uses internal msan-enabled annotation in the code, rather than public one
build --per_file_copt=external/com_google_tcmalloc@-DANNOTATE_MEMORY_IS_INITIALIZED=ABSL_ANNOTATE_MEMORY_IS_INITIALIZED
build --per_file_copt=external/com_google_protobuf@-Wno-deprecated-declarations,-Wno-deprecated-pragma
build --host_per_file_copt=external/com_google_protobuf@-Wno-deprecated-declarations,-Wno-deprecated-pragma

# Increasing the optimization level of some portions of V8 significantly speeds up Python tests
# in GitHub Actions. This is an optional performance hack and shouly only be used in CI.
Expand Down
14 changes: 7 additions & 7 deletions patches/bazel-lib/0001-chore-deps-upgrade-to-newest-bsdtar.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
From fa8dd505d99db57f3a9c00a40d01971ab6a5a3c3 Mon Sep 17 00:00:00 2001
From 0fc8e2579c3070f3bad89242855ddbfc7f7b517e Mon Sep 17 00:00:00 2001
From: Alex Eagle <[email protected]>
Date: Tue, 17 Sep 2024 13:26:20 -0700
Subject: chore(deps): upgrade to newest bsdtar


diff --git a/lib/private/tar_toolchain.bzl b/lib/private/tar_toolchain.bzl
index 22fe717b5095e338272c6a48b1eeafbacece4fa1..0ed46317422c528bdf97903b08501d990b48ee69 100644
index 22fe717b5095e338272c6a48b1eeafbacece4fa1..dd12eac4d0b9e02363b6db8038f03a4d9cbc9c64 100644
--- a/lib/private/tar_toolchain.bzl
+++ b/lib/private/tar_toolchain.bzl
@@ -36,44 +36,36 @@ BSDTAR_PLATFORMS = {
Expand All @@ -14,32 +14,32 @@ index 22fe717b5095e338272c6a48b1eeafbacece4fa1..0ed46317422c528bdf97903b08501d99
"darwin_amd64": (
- "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.4-3/tar_darwin_amd64",
- "e872943518f946a4a73106c1fa811c0211cb74a6e6d673f5a2ffbfaf40806ec0",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5-1/tar_darwin_amd64",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5/tar_darwin_amd64",
+ "6c7752869833c5cd4cf9728f90afd37f6665d7f9e06a4fbfdeb0fa41267575cf",
),
"darwin_arm64": (
- "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.4-3/tar_darwin_arm64",
- "81d992eeefb519421dc18db63fce51f7fef7204b94e17e9b490af7699b565ff1",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5-1/tar_darwin_arm64",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5/tar_darwin_arm64",
+ "1718c23919bae478ed13c682a341e389de6ba4396220fc8e75a7f0e5d6024019",
),
"linux_amd64": (
- "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.4-3/tar_linux_amd64",
- "9dba82030199b2660086e458fa6481cf73089ee5c47d216e647bb2a6b0fae792",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5-1/tar_linux_amd64",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5/tar_linux_amd64",
+ "b8c492a51fb9e4c59dfa71b3c62191210c48280b98c2a88f7cef8ba973a9ad39",
),
"linux_arm64": (
- "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.4-3/tar_linux_arm64",
- "105f91ad792fce13030bd249d8f9a14fd7ceaf908e1caeb99685b0b1fac44be2",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5-1/tar_linux_arm64",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5/tar_linux_arm64",
+ "aa760c25a5445320bb3cde06e60c99ebc95fb29f330af0212bd099dd24e1cc54",
),
"windows_amd64": (
- "https://github.com/libarchive/libarchive/releases/download/v3.7.4/libarchive-v3.7.4-amd64.zip",
- "7ced6865d5e22e1dab0c3f3d65094d946ae505ec4e8db026f82c9e1c413f3c59",
+ "https://github.com/aspect-build/bsdtar-prebuilt/releases/download/v3.7.5-1/tar_windows_x86_64.exe",
+ "80c109b9477ed44e9f8626cd9d8a635c8761c4506030c91f46b289798c7a22b6",
+ "2650c428fbe37276d4ffa3386d55b69f06fb4611e25ff05db5f011c389c3e952",
),
}

Expand Down

0 comments on commit bb0f8a0

Please sign in to comment.