diff options
author | Robin Lindén <_@robinlinden.eu> | 2023-10-19 13:58:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-19 07:58:00 -0400 |
commit | 3504079adee2c19b2f6c0779caefd9856375ba7b (patch) | |
tree | c5d34748437b01d23aad9714b4e7f2ec388472d3 | |
parent | ef5d0345cb46c6608da54674f1b18524e08bf21a (diff) | |
download | bazelbuild-rules_fuzzing-3504079adee2c19b2f6c0779caefd9856375ba7b.tar.gz |
Update abseil-cpp to fix build with Clang >=16 (#237)
This fixes a build error in newer Clang caused by a
feature=layering_check violation:
```
In file included from external/com_google_absl/absl/debugging/stacktrace.cc:46:
external/com_google_absl/absl/debugging/internal/stacktrace_x86-inl.inc:38:10: error: module @com_google_absl//absl/debugging:stacktrace does not depend on a module exporting 'absl/base/internal/raw_logging.h'
^
1 error generated.
```
-rw-r--r-- | .bazelrc | 3 | ||||
-rw-r--r-- | fuzzing/repositories.bzl | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -16,6 +16,9 @@ build --action_env=CC=clang-10 build --action_env=CXX=clang++-10 +# Needed for abseil-cpp until https://github.com/bazelbuild/bazel/pull/19794 is released. +build --cxxopt=-std=c++14 + # Workaround for https://github.com/bazelbuild/bazel/issues/3236 build --sandbox_tmpfs_path=/tmp diff --git a/fuzzing/repositories.bzl b/fuzzing/repositories.bzl index ba96102..92d41c8 100644 --- a/fuzzing/repositories.bzl +++ b/fuzzing/repositories.bzl @@ -55,9 +55,9 @@ def rules_fuzzing_dependencies(oss_fuzz = True, honggfuzz = True, jazzer = True) maybe( http_archive, name = "com_google_absl", - urls = ["https://github.com/abseil/abseil-cpp/archive/f2dbd918d8d08529800eb72f23bd2829f92104a4.zip"], - strip_prefix = "abseil-cpp-f2dbd918d8d08529800eb72f23bd2829f92104a4", - sha256 = "5e1cbf25bf501f8e37866000a6052d02dbdd7b19a5b592251c59a4c9aa5c71ae", + urls = ["https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip"], + strip_prefix = "abseil-cpp-20230802.1", + sha256 = "497ebdc3a4885d9209b9bd416e8c3f71e7a1fb8af249f6c2a80b7cbeefcd7e21", ) if oss_fuzz: |