Commit 6a97f0a6 by Ralf W. Grosse-Kunstleve Committed by Copybara-Service

Update pybind11_abseil/WORKSPACE

Current motivation: Testing after https://github.com/pybind/pybind11_bazel/pull/46 was merged.

Convert pybind11_bazel dependency to FLOATING (we own it).

PiperOrigin-RevId: 485626325
parent 9840e8ce
workspace(name = "com_google_pybind11_abseil")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# To update a dependency to a new revision,
# To update a PINNED dependency to a new revision,
# 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
# and update the sha256 with the result.
## `abseil-cpp` (PINNED)
# https://github.com/abseil/abseil-cpp
http_archive(
name = "com_google_absl",
sha256 = "dcf71b9cba8dc0ca9940c4b316a0c796be8fab42b070bb6b7cab62b48f0e66c4", # SHARED_ABSL_SHA
......@@ -17,21 +18,22 @@ http_archive(
],
)
## `pybind11_bazel`
# See https://github.com/pybind/pybind11_bazel
## `pybind11_bazel` (FLOATING)
# https://github.com/pybind/pybind11_bazel
http_archive(
name = "pybind11_bazel",
strip_prefix = "pybind11_bazel-9a24c33cbdc510fa60ab7f5ffb7d80ab89272799",
sha256 = "32feba648e364da83b0876713cca8a7113f58433cee0680591218dbc202f1392",
urls = ["https://github.com/pybind/pybind11_bazel/archive/9a24c33cbdc510fa60ab7f5ffb7d80ab89272799.tar.gz"],
strip_prefix = "pybind11_bazel-master",
urls = ["https://github.com/pybind/pybind11_bazel/archive/refs/heads/master.tar.gz"],
)
# We still require the pybind library.
## `pybind11` (FLOATING)
# https://github.com/pybind/pybind11
http_archive(
name = "pybind11",
build_file = "@pybind11_bazel//:pybind11.BUILD",
strip_prefix = "pybind11-master",
urls = ["https://github.com/pybind/pybind11/archive/refs/heads/master.tar.gz"],
)
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
python_configure(name = "local_config_python")
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