Skip to content

Commit

Permalink
feat: add boost compatibility (#2849)
Browse files Browse the repository at this point in the history
- as title
- need skip url stability check

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
  • Loading branch information
wep21 authored Sep 26, 2024
1 parent cf6a10a commit 0650d94
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/boost.compatibility/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module(
name = "boost.compatibility",
version = "1.83.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108300,
)

bazel_dep(name = "rules_cc", version = "0.0.9")
15 changes: 15 additions & 0 deletions modules/boost.compatibility/1.83.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
name = "boost.compatibility",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
includes = ["include"],
features = [
"parse_headers",
],
)
1 change: 1 addition & 0 deletions modules/boost.compatibility/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.compatibility/1.83.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel: [7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_flags:
- '--process_headers_in_dependencies'
build_targets:
- '@boost.compatibility//:boost.compatibility'
10 changes: 10 additions & 0 deletions modules/boost.compatibility/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-kPbQ969eUIFEECj9/GzRki1a0xYwpyaFOy9ffKAlSpk=",
"strip_prefix": "compatibility-boost-1.83.0",
"url": "https://github.com/boostorg/compatibility/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-+BHuH6laXQij4rOIz7dQjUzAAPArP31BIAAW40oa1F4=",
"BUILD.bazel": "sha256-QDsUWepFVDz93KW20fM9aZ9Bnxo9uFA+6EowVH9yfDw="
}
}
22 changes: 22 additions & 0 deletions modules/boost.compatibility/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/compatibility",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/compatibility"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}

0 comments on commit 0650d94

Please sign in to comment.