Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump chromium 128 dependents #1043

Merged
merged 8 commits into from
Jul 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
schedule:
- cron: '0 16 * * *'
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
win-clang-tidy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/compiler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
win-compiler-compatible-2022:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-android-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
android-binary-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
DH_QUIET: 1
jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-freebsd-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
freebsd-binary-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
ios-simulator-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-linux-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
linux-binary-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
mac-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-mingw-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
mingw64-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
schedule:
- cron: '0 16 * * *'
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
mingw64-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-openwrt-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
openwrt-binary-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-rpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
cancel-in-progress: ${{ startsWith(github.event_name, 'pull') }}
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
docker_publish:
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/releases-src.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ jobs:
# unshallow must come first otherwise submodule may be get unshallowed
git fetch --tags --unshallow
git submodule update --init --depth 1
- name: Patch libcxx for gcc 14 support
run: |
cd third_party/libc++/trunk
patch -p1 < ../gcc14.patch
git clean -xfd
- name: Patch libcxxabi for both of armel and armhf
run: |
cd third_party/libc++abi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defaults:
run:
shell: cmd
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
windows-release:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sanitizers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
schedule:
- cron: '0 16 * * *'
env:
CACHE_EPOCH: 127-4
CACHE_EPOCH: 128-1
GOPROXY: direct
jobs:
sanitizer-linux:
Expand Down
2 changes: 1 addition & 1 deletion CLANG_REVISION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
llvmorg-19-init-10646-g084e2b53-57
llvmorg-19-init-14561-gecea8371-2
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,9 @@ if(ASAN)
add_link_options(-fsanitize=address -fsanitize-address-use-after-scope -fno-omit-frame-pointer)
endif()
add_definitions(-DADDRESS_SANITIZER)
if (NOT APPLE AND USE_LIBCXX)
add_definitions(-D_LIBCPP_INSTRUMENTED_WITH_ASAN)
endif()
list(APPEND YASS_APP_FEATURES "asan")
endif()

Expand Down
20 changes: 10 additions & 10 deletions scripts/download-clang-prebuilt-binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

# mkdir -p third_party/llvm-build/Release+Asserts
# CLANG_REVISION=$(< CLANG_REVISION)
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clang-$CLANG_REVISION.tgz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clang-tidy-$CLANG_REVISION.tgz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/libclang-$CLANG_REVISION.tgz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clangd-$CLANG_REVISION.tgz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clang-$CLANG_REVISION.tar.xz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clang-tidy-$CLANG_REVISION.tar.xz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/libclang-$CLANG_REVISION.tar.xz | tar xzf - -C third_party/llvm-build/Release+Asserts
# curl https://commondatastorage.googleapis.com/chromium-browser-clang/$CLANG_ARCH/clangd-$CLANG_REVISION.tar.xz | tar xzf - -C third_party/llvm-build/Release+Asserts

try:
# For Python 3.0 and later
Expand Down Expand Up @@ -98,12 +98,12 @@ def main():
mkdir_p('third_party/llvm-build/Release+Asserts')
os.chdir('third_party/llvm-build/Release+Asserts')

download_url(f'https://commondatastorage.googleapis.com/chromium-browser-clang/{clang_arch}/clang-{clang_revision}.tgz',
f'clang-{clang_revision}-{clang_arch}.tgz')
download_url(f'https://commondatastorage.googleapis.com/chromium-browser-clang/{clang_arch}/clang-tidy-{clang_revision}.tgz',
f'clang-tidy-{clang_revision}-{clang_arch}.tgz')
extract_tarfile(f'clang-{clang_revision}-{clang_arch}.tgz')
extract_tarfile(f'clang-tidy-{clang_revision}-{clang_arch}.tgz')
download_url(f'https://commondatastorage.googleapis.com/chromium-browser-clang/{clang_arch}/clang-{clang_revision}.tar.xz',
f'clang-{clang_revision}-{clang_arch}.tar.xz')
download_url(f'https://commondatastorage.googleapis.com/chromium-browser-clang/{clang_arch}/clang-tidy-{clang_revision}.tar.xz',
f'clang-tidy-{clang_revision}-{clang_arch}.tar.xz')
extract_tarfile(f'clang-{clang_revision}-{clang_arch}.tar.xz')
extract_tarfile(f'clang-tidy-{clang_revision}-{clang_arch}.tar.xz')

# create a shim to lld-link
os.chdir('bin')
Expand Down
2 changes: 1 addition & 1 deletion src/cli/cli_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <build/build_config.h>

#ifdef HAVE_QUICHE
#include <quiche/spdy/core/hpack/hpack_constants.h>
#include <quiche/http2/hpack/hpack_constants.h>
#endif

static_assert(TLSEXT_MAXLEN_host_name == uint8_t(~0));
Expand Down
2 changes: 1 addition & 1 deletion third_party/abseil-cpp
Submodule abseil-cpp updated 97 files
+72 −2 CMake/AbseilDll.cmake
+1 −1 CMake/AbseilHelpers.cmake
+9 −0 CMakeLists.txt
+2 −0 absl/algorithm/BUILD.bazel
+2 −0 absl/algorithm/CMakeLists.txt
+56 −18 absl/algorithm/container.h
+63 −0 absl/algorithm/container_test.cc
+13 −0 absl/base/BUILD.bazel
+1 −0 absl/base/CMakeLists.txt
+6 −0 absl/base/attributes.h
+30 −0 absl/base/c_header_test.c
+24 −38 absl/base/config.h
+3 −1 absl/base/internal/nullability_impl.h
+25 −31 absl/base/no_destructor.h
+32 −6 absl/base/nullability.h
+11 −0 absl/base/optimization.h
+14 −2 absl/container/BUILD.bazel
+13 −2 absl/container/CMakeLists.txt
+4 −2 absl/container/btree_map.h
+5 −2 absl/container/btree_set.h
+40 −3 absl/container/flat_hash_map.h
+89 −0 absl/container/flat_hash_map_test.cc
+33 −1 absl/container/flat_hash_set.h
+33 −0 absl/container/flat_hash_set_test.cc
+6 −6 absl/container/internal/compressed_tuple.h
+39 −3 absl/container/internal/compressed_tuple_test.cc
+143 −32 absl/container/internal/raw_hash_set.h
+371 −85 absl/container/internal/raw_hash_set_test.cc
+37 −1 absl/container/node_hash_map.h
+65 −0 absl/container/node_hash_map_test.cc
+32 −1 absl/container/node_hash_set.h
+46 −0 absl/container/node_hash_set_test.cc
+1 −1 absl/copts/AbseilConfigureCopts.cmake
+99 −16 absl/debugging/BUILD.bazel
+108 −11 absl/debugging/CMakeLists.txt
+126 −0 absl/debugging/internal/bounded_utf8_length_sequence.h
+126 −0 absl/debugging/internal/bounded_utf8_length_sequence_test.cc
+258 −0 absl/debugging/internal/decode_rust_punycode.cc
+55 −0 absl/debugging/internal/decode_rust_punycode.h
+606 −0 absl/debugging/internal/decode_rust_punycode_test.cc
+644 −51 absl/debugging/internal/demangle.cc
+2 −1 absl/debugging/internal/demangle.h
+30 −23 absl/debugging/internal/demangle_rust.cc
+1 −4 absl/debugging/internal/demangle_rust.h
+6 −6 absl/debugging/internal/demangle_rust_test.cc
+1,230 −49 absl/debugging/internal/demangle_test.cc
+43 −16 absl/debugging/internal/elf_mem_image.cc
+8 −7 absl/debugging/internal/elf_mem_image.h
+70 −0 absl/debugging/internal/utf8_for_code_point.cc
+47 −0 absl/debugging/internal/utf8_for_code_point.h
+175 −0 absl/debugging/internal/utf8_for_code_point_test.cc
+1 −0 absl/flags/BUILD.bazel
+1 −0 absl/flags/CMakeLists.txt
+173 −27 absl/flags/flag_test.cc
+117 −30 absl/flags/internal/flag.cc
+178 −25 absl/flags/internal/flag.h
+3 −1 absl/hash/internal/hash.h
+1 −1 absl/log/die_if_null.h
+28 −15 absl/log/globals.h
+2 −2 absl/log/internal/conditions.h
+76 −29 absl/log/internal/log_message.cc
+4 −4 absl/log/internal/log_message.h
+1 −10 absl/log/internal/nullstream.h
+4 −5 absl/log/internal/test_matchers.cc
+1 −1 absl/log/internal/test_matchers.h
+126 −81 absl/log/log_basic_test_impl.inc
+331 −349 absl/log/log_format_test.cc
+14 −22 absl/log/log_modifier_methods_test.cc
+147 −122 absl/log/log_streamer_test.cc
+3 −2 absl/log/structured_test.cc
+8 −7 absl/random/bit_gen_ref.h
+1 −1 absl/random/discrete_distribution_test.cc
+7 −7 absl/random/mock_distributions_test.cc
+1 −1 absl/random/mocking_bit_gen.h
+2 −2 absl/status/internal/statusor_internal.h
+2 −0 absl/strings/BUILD.bazel
+3 −2 absl/strings/CMakeLists.txt
+33 −0 absl/strings/cord.h
+26 −0 absl/strings/cord_test.cc
+1 −2 absl/strings/internal/cord_internal.h
+1 −1 absl/strings/string_view.h
+10 −1 absl/synchronization/internal/graphcycles.cc
+5 −0 absl/synchronization/internal/graphcycles.h
+19 −0 absl/synchronization/internal/graphcycles_test.cc
+6 −3 absl/synchronization/internal/kernel_timeout_test.cc
+1 −1 absl/synchronization/internal/per_thread_sem_test.cc
+61 −0 absl/time/duration_test.cc
+2 −1 absl/time/format.cc
+48 −0 absl/time/time.h
+39 −0 absl/time/time_test.cc
+1 −14 absl/types/internal/variant.h
+1 −1 absl/types/span.h
+34 −21 ci/linux_gcc-latest_libstdcxx_cmake.sh
+34 −20 ci/linux_gcc_alpine_cmake.sh
+28 −15 ci/macos_xcode_cmake.sh
+1 −1 ci/windows_clangcl_bazel.bat
+14 −13 create_lts.py
2 changes: 1 addition & 1 deletion third_party/boringssl/src
Submodule src updated 181 files
2 changes: 1 addition & 1 deletion third_party/libc++/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ foreach(CompilerFlag ${CompilerFlags})
string(REPLACE "-stdlib=libc++" "" ${CompilerFlag} "${${CompilerFlag}}")
endforeach()

set(libcxx_CR "852bc6746f45add53fec19f3a29280e69e358d44")
set(libcxx_CR "81d177a0a844f75749af92dd2c78a675ef179f54")
# Fixed libc++ configuration macros are in
# buildtools/third_party/libc++/__config_site. This config only has defines
# that vary depending on gn args, and non-define flags.
Expand Down
16 changes: 10 additions & 6 deletions third_party/libc++/__config_site
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#ifndef _LIBCPP_CONFIG_SITE
#define _LIBCPP_CONFIG_SITE

// Dynamic libc++ configuration macros are in
// build/config/libc++:runtime_library. This file only has defines
// that are constant across platforms, or easily set via preprocessor checks.
// Things that are set depending on GN args are not here.

// We set a custom _LIBCPP_ABI_NAMESPACE for the following reasons:
//
// 1. When libcxx_is_shared is true, symbols from libc++.so are exported for all
Expand All @@ -12,6 +17,7 @@
// limit for PDBs (https://crbug.com/1327710#c5). To fix this, we set
// _LIBCPP_ABI_NAMESPACE to a shorter value.
#define _LIBCPP_ABI_NAMESPACE __Cr

#define _LIBCPP_ABI_VERSION 2

/* #undef _LIBCPP_ABI_FORCE_ITANIUM */
Expand Down Expand Up @@ -39,14 +45,12 @@
// TODO(thakis): Is this right?
/* #undef _LIBCPP_HAS_NO_TIME_ZONE_DATABASE */

#define _LIBCPP_INSTRUMENTED_WITH_ASAN

// PSTL backends
/* #undef _LIBCPP_PSTL_CPU_BACKEND_SERIAL */
/* #undef _LIBCPP_PSTL_BACKEND_SERIAL */
#if defined(__APPLE__)
#define _LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH
#define _LIBCPP_PSTL_BACKEND_LIBDISPATCH
#else
#define _LIBCPP_PSTL_CPU_BACKEND_THREAD
#define _LIBCPP_PSTL_BACKEND_STD_THREAD
#endif

// Settings below aren't part of __config_site upstream.
Expand All @@ -71,7 +75,7 @@
// termination function on Apple platforms.
#define _LIBCPP_VERBOSE_ABORT(...) ::std::__libcpp_verbose_abort(__VA_ARGS__)

// TODO(crbug.com/1455923) Link against compiler-rt's builtins library to
// TODO(crbug.com/40272953) Link against compiler-rt's builtins library to
// enable 128-arithmetic.
#if defined(_WIN32)
#define _LIBCPP_HAS_NO_INT128
Expand Down
Loading
Loading