Skip to content

Commit

Permalink
feat: add boost.io
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 committed Aug 16, 2024
1 parent 678740d commit b0c7faa
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/boost.io/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module(
name = "boost.io",
version = "1.83.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108300,
)

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

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

cc_library(
name = "boost.io",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
features = [
"parse_headers",
],
includes = ["include"],
deps = ["@boost.config"],
)
1 change: 1 addition & 0 deletions modules/boost.io/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.io/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.io//:boost.io'
10 changes: 10 additions & 0 deletions modules/boost.io/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-2gS/1jh06gSFTT3ha8LOztJ7AcIJasoy/c49G0IVRN8=",
"strip_prefix": "io-boost-1.83.0",
"url": "https://github.com/boostorg/io/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-R0V6h5qBr5ILCWt2r/0kL4mP30Bq7BLGLGdyqEqg4KA=",
"BUILD.bazel": "sha256-xIyeHIGSemkx6H8A/tjRC+TSe/8WXNASKL6C09aJzWA="
}
}
22 changes: 22 additions & 0 deletions modules/boost.io/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/io",
"maintainers": [
{
"email": "[email protected]",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "[email protected]",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/io"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}

0 comments on commit b0c7faa

Please sign in to comment.