Commit 6c3bd789 by pybind11_abseil authors Committed by Copybara-Service

Bump pinned Abseil to latest LTS (20230802.0). Remove C++ 11 support as newest…

Bump pinned Abseil to latest LTS (20230802.0). Remove C++ 11 support as newest Abseil does not support it.

PiperOrigin-RevId: 555248466
parent 09e10009
......@@ -5,16 +5,25 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# a) update URL and strip_prefix to the new git commit hash
# b) get the sha256 hash of the commit by running:
# curl -L https://github.com/<...>.tar.gz | sha256sum
# On Mac, run curl -L https://github.com/<...>.tar.gz | shasum -a 256
# and update the sha256 with the result.
## `bazel_skylib` (PINNED)
http_archive(
name = "bazel_skylib", # 2023-05-31T19:24:07Z
sha256 = "08c0386f45821ce246bbbf77503c973246ed6ee5c3463e41efc197fa9bc3a7f4",
strip_prefix = "bazel-skylib-288731ef9f7f688932bd50e704a91a45ec185f9b",
urls = ["https://github.com/bazelbuild/bazel-skylib/archive/288731ef9f7f688932bd50e704a91a45ec185f9b.zip"],
)
## `abseil-cpp` (PINNED)
# https://github.com/abseil/abseil-cpp
http_archive(
name = "com_google_absl",
sha256 = "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", # SHARED_ABSL_SHA
strip_prefix = "abseil-cpp-20211102.0",
sha256 = "59d2976af9d6ecf001a81a35749a6e551a335b949d34918cfade07737b9d93c5", # SHARED_ABSL_SHA
strip_prefix = "abseil-cpp-20230802.0",
urls = [
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz"
"https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.0.tar.gz"
],
)
......
......@@ -80,7 +80,6 @@ export PYTHON_LIB_PATH=`python3 -c "import sysconfig; print(sysconfig.get_path('
echo "Using PYTHON_BIN_PATH: $PYTHON_BIN_PATH"
echo "Using PYTHON_LIB_PATH: $PYTHON_LIB_PATH"
BAZEL_CXXOPTS="-std=c++11" bazel test ... --test_output=errors
BAZEL_CXXOPTS="-std=c++14" bazel test ... --test_output=errors
BAZEL_CXXOPTS="-std=c++17" bazel test ... --test_output=errors
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment