Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mmorel-35 committed Apr 27, 2024
1 parent 2bfff0e commit 82b4c7e
Show file tree
Hide file tree
Showing 5 changed files with 88 additions and 16 deletions.
26 changes: 26 additions & 0 deletions modules/boringssl/0.0.0-20240427-e2d7f2d/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Copyright (c) 2024, Google Inc.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

# When publishing to BCR, replace the version field below with
# 0.0.0-YYYYMMDD-HASH, e.g. "0.0.0-20240126-22d349c".
module(
name = "boringssl",
version = "0.0.0-20240427-e2d7f2d",
compatibility_level = 2,
)

bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True)

bazel_dep(name = "platforms", version = "0.0.9")
bazel_dep(name = "rules_cc", version = "0.0.9")
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- MODULE.bazel
+++ MODULE.bazel
@@ -16,7 +16,7 @@
# 0.0.0-YYYYMMDD-HASH, e.g. "0.0.0-20240126-22d349c".
module(
name = "boringssl",
- version = "0.0.0-dev",
+ version = "0.0.0-20240427-e2d7f2d",
compatibility_level = 2,
)

24 changes: 24 additions & 0 deletions modules/boringssl/0.0.0-20240427-e2d7f2d/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
build_targets: &build_targets
- "@boringssl//:crypto"
- "@boringssl//:ssl"

matrix:
platform:
- centos7_java11_devtoolset10
- debian11
- ubuntu2204
- windows
bazel: [6.x, 7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets: *build_targets
# Work around https://github.com/bazelbuild/bazel/issues/10472
verify_targets_on_macos:
name: Verify build targets on macOS
platform: macos
bazel: ${{ bazel }}
build_targets: *build_targets
build_flags: [--sandbox_block_path=/usr/local]
9 changes: 9 additions & 0 deletions modules/boringssl/0.0.0-20240427-e2d7f2d/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"url": "https://github.com/google/boringssl/archive/e2d7f2d625257b2c250ea2f18d3f832add5b43bf.tar.gz",
"integrity": "sha256-TD0CT7sQpc2iWb9DO418WADI+v6QJj6HhvimQHgjxJs=",
"strip_prefix": "boringssl-e2d7f2d625257b2c250ea2f18d3f832add5b43bf",
"patch_strip": 0,
"patches": {
"module_dot_bazel.patch": "sha256-7PkuI0Oi73kVvMDRFt++/G12MfdxrLXR7PxwdtmkuNE="
}
}
34 changes: 18 additions & 16 deletions modules/boringssl/metadata.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"homepage": "https://github.com/google/boringssl",
"maintainers": [
{
"email": "[email protected]",
"name": "No Maintainer Specified"
}
],
"repository": [
"github:google/boringssl"
],
"versions": [
"0.0.0-20211025-d4f1ab9",
"0.0.0-20230215-5c22014",
"0.0.0-20240126-22d349c"
],
"yanked_versions": {}
"homepage": "https://github.com/google/boringssl",
"maintainers": [
{
"email": "[email protected]",
"github": "davidben",
"name": "David Benjamin"
}
],
"repository": [
"github:google/boringssl"
],
"versions": [
"0.0.0-20211025-d4f1ab9",
"0.0.0-20230215-5c22014",
"0.0.0-20240126-22d349c",
"0.0.0-20240427-e2d7f2d"
],
"yanked_versions": {}
}

0 comments on commit 82b4c7e

Please sign in to comment.