Skip to content

Commit

Permalink
Use hedronvision boringssl to match rules_boost (#198)
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Vukov <[email protected]>
  • Loading branch information
kgreenek and mvukov authored Oct 22, 2023
1 parent 698069a commit 66decd5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 42 deletions.
1 change: 1 addition & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"eigen",
"foxglove_bridge",
"nlohmann_json",
"openssl",
"pybind11",
"rules_foreign_cc",
"rules_python",
Expand Down
2 changes: 1 addition & 1 deletion repositories/asio.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ cc_library(
],
includes = ["include"],
visibility = ["//visibility:public"],
deps = ["@openssl"],
deps = ["@openssl//:ssl"],
)
2 changes: 1 addition & 1 deletion repositories/curl.BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ cp ${BUILD_TMPDIR}/lib/libcurl.a ${INSTALLDIR}/lib
""",
visibility = ["//visibility:public"],
deps = [
"@openssl",
"@openssl//:ssl",
"@zlib",
],
)
36 changes: 0 additions & 36 deletions repositories/openssl.BUILD.bazel

This file was deleted.

10 changes: 6 additions & 4 deletions repositories/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,15 @@ def ros2_repositories():
urls = ["https://github.com/chriskohlhoff/asio/archive/refs/tags/asio-1-27-0.tar.gz"],
)

# We're pointing at hedronvision's mirror of google/boringssl:main-with-bazel to get
# Renovate auto-update. Otherwise, Renovate will keep moving us back to main, which doesn't
# support Bazel.
maybe(
http_archive,
name = "openssl",
build_file = "@com_github_mvukov_rules_ros2//repositories:openssl.BUILD.bazel",
sha256 = "f89199be8b23ca45fc7cb9f1d8d3ee67312318286ad030f5316aca6462db6c96",
strip_prefix = "openssl-1.1.1m",
urls = ["https://www.openssl.org/source/openssl-1.1.1m.tar.gz"],
sha256 = "e2d8e5ed850a917e74a249d3bef3356c7e4c40622457d5a34871b73a18c92e3b",
strip_prefix = "boringssl-207f9c208a08ca6e931b30b5b89a2e0f02c5ee41",
urls = ["https://github.com/hedronvision/boringssl/archive/207f9c208a08ca6e931b30b5b89a2e0f02c5ee41.tar.gz"],
)

maybe(
Expand Down

0 comments on commit 66decd5

Please sign in to comment.