Skip to content

Commit 87dc6d3

Browse files
authored
fix: add openssl 3.5.4.bcr.1 (#7126)
``` (15:59:47) ERROR: C:/b/tfes37s3/external/openssl+/BUILD.bazel:405:11: Compiling engines/e_capi_err.c failed: undeclared inclusion(s) in rule '@@openssl+//:crypto': -- this rule is missing dependency declarations for the following files included by 'engines/e_capi_err.c': 'external/openssl+/include/openssl/opensslconf.h' ``` To fix this error with bazel >= 9 on windows --------- Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
1 parent 35073de commit 87dc6d3

File tree

10 files changed

+995
-29
lines changed

10 files changed

+995
-29
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module(
2+
name = "openssl",
3+
version = "3.5.4.bcr.1",
4+
# We use overlay, which requires at least 7.2.1
5+
bazel_compatibility = [">=7.2.1"],
6+
# Note: This should rarely change. For now, we hold it as a constant.
7+
# Realistically, we should only change it if the major version of openssl changes.
8+
# When that happens, we probably want to change this to a single-digit number representing that version number.
9+
compatibility_level = 3030100,
10+
)
11+
12+
bazel_dep(name = "platforms", version = "1.0.0")
13+
bazel_dep(name = "rules_cc", version = "0.2.4")
14+
bazel_dep(name = "rules_perl", version = "0.5.0")
15+
bazel_dep(name = "bazel_skylib", version = "1.8.2")
16+
17+
http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
18+
19+
http_archive(
20+
name = "openssl-generated-overlay",
21+
integrity = "sha256-vKSZUhkkLQJhYw9gTiJGS/t0isgFSwrpvcgjQTKDmcc=",
22+
url = "https://github.com/raccoons-build/bazel-openssl-cc/releases/download/3.5.4.bcr.0/bazel-openssl-cc-3.5.4.bcr.0.tar.gz",
23+
)

0 commit comments

Comments
 (0)