Skip to content

Commit

Permalink
feat: add boost describe, utility, variant2 (#2662)
Browse files Browse the repository at this point in the history
- add boost describe and utility
- need skip url stability check

---------

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
  • Loading branch information
wep21 committed Aug 26, 2024
1 parent 842b622 commit 1a22e12
Show file tree
Hide file tree
Showing 18 changed files with 262 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/boost.describe/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module(
name = "boost.describe",
version = "1.83.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108300,
)

bazel_dep(name = "boost.mp11", version = "1.83.0")
bazel_dep(name = "rules_cc", version = "0.0.9")
16 changes: 16 additions & 0 deletions modules/boost.describe/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.describe",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
features = [
"parse_headers",
],
includes = ["include"],
deps = ["@boost.mp11"],
)
1 change: 1 addition & 0 deletions modules/boost.describe/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.describe/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.describe//:boost.describe'
10 changes: 10 additions & 0 deletions modules/boost.describe/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-pIPnzATQYMAUljW4HM9fYqfiqQYvXUtO52i40p2j/U8=",
"strip_prefix": "describe-boost-1.83.0",
"url": "https://github.com/boostorg/describe/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-Y8oqocj2LooYd2fSlFKfGnYtD2pLwbYIHD4a9jRYusQ=",
"BUILD.bazel": "sha256-EFe+KsPptz8NlrbMG0MGdud+vW6Q0GdS2HIMdFHgnJg="
}
}
22 changes: 22 additions & 0 deletions modules/boost.describe/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/describe",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/describe"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}
15 changes: 15 additions & 0 deletions modules/boost.utility/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module(
name = "boost.utility",
version = "1.83.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108300,
)

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

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

cc_library(
name = "boost.utility",
hdrs = glob(
[
"include/**/*.hpp",
"include/**/*.h",
],
exclude = [
"include/boost/utility/detail/result_of_iterate.hpp",
"include/boost/utility/detail/result_of_variadic.hpp",
]
),
includes = ["include"],
features = [
"parse_headers",
],
textual_hdrs = [
"include/boost/utility/detail/result_of_iterate.hpp",
"include/boost/utility/detail/result_of_variadic.hpp",
],
deps = [
"@boost.assert",
"@boost.config",
"@boost.core",
"@boost.io",
"@boost.preprocessor",
"@boost.throw_exception",
"@boost.type_traits",
],
)
1 change: 1 addition & 0 deletions modules/boost.utility/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.utility/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.utility//:boost.utility'
10 changes: 10 additions & 0 deletions modules/boost.utility/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-bhEtQjLibNdxc/y9TwCjHbz55HayK7ScepBghxrjdsM=",
"strip_prefix": "utility-boost-1.83.0",
"url": "https://github.com/boostorg/utility/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-4SLuKmPU523sjS+BsT+Vt2OPy80V91JhCjND8Tvbl/0=",
"BUILD.bazel": "sha256-LlqfTlrXbrsnAi/TC3YHr+yQN/midGkXl4HdUFWtCQI="
}
}
22 changes: 22 additions & 0 deletions modules/boost.utility/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/utility",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/utility"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}
12 changes: 12 additions & 0 deletions modules/boost.variant2/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module(
name = "boost.variant2",
version = "1.83.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 108300,
)

bazel_dep(name = "boost.assert", version = "1.83.0")
bazel_dep(name = "boost.config", version = "1.83.0")
bazel_dep(name = "boost.mp11", version = "1.83.0")
bazel_dep(name = "rules_cc", version = "0.0.9")

20 changes: 20 additions & 0 deletions modules/boost.variant2/1.83.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

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

cc_library(
name = "boost.variant2",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
]),
includes = ["include"],
features = [
"parse_headers",
],
deps = [
"@boost.assert",
"@boost.config",
"@boost.mp11",
],
)
1 change: 1 addition & 0 deletions modules/boost.variant2/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.variant2/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.variant2//:boost.variant2'
10 changes: 10 additions & 0 deletions modules/boost.variant2/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-80QXswAcgFA4wQJQMg+9k8nKs6jtmcu2ZxWD3tpwXn8=",
"strip_prefix": "variant2-boost-1.83.0",
"url": "https://github.com/boostorg/variant2/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-SDyf0mDA/yQXfYxUMk3P+HhHg8o3pxD5DbjnZksg+o0=",
"BUILD.bazel": "sha256-o3qiCp5EW4cYTf5eJPhkkZ9szr6knaK/1rEefeux3+g="
}
}
22 changes: 22 additions & 0 deletions modules/boost.variant2/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/variant2",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/variant2"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}

0 comments on commit 1a22e12

Please sign in to comment.