Skip to content

Commit

Permalink
feat: add boost container_hash, mpl, optional (#2681)
Browse files Browse the repository at this point in the history
- add boost container_hash, mpl, optional
- need skip url stability check

---------

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

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

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

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

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

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

cc_library(
name = "boost.mpl",
hdrs = glob(
[
"include/**/*.hpp",
"include/**/*.h",
],
exclude = glob([
"include/boost/mpl/aux_/*.hpp",
"include/boost/mpl/aux_/**/*.hpp",
"include/boost/mpl/*/aux_/*.hpp",
"include/boost/mpl/*/aux_/**/*.hpp",
]) + [
"include/boost/mpl/alias.hpp",
],
),
includes = ["include"],
features = [
"parse_headers",
],
textual_hdrs = glob([
"include/boost/mpl/aux_/*.hpp",
"include/boost/mpl/aux_/**/*.hpp",
"include/boost/mpl/*/aux_/*.hpp",
"include/boost/mpl/*/aux_/**/*.hpp",
]) + [
"include/boost/mpl/alias.hpp",
],
deps = [
"@boost.config",
"@boost.core",
"@boost.predef",
"@boost.preprocessor",
"@boost.static_assert",
"@boost.type_traits",
"@boost.utility",
],
)
1 change: 1 addition & 0 deletions modules/boost.mpl/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.mpl/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.mpl//:boost.mpl'
10 changes: 10 additions & 0 deletions modules/boost.mpl/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-ckylsTYlc6p5gSHIDSPQdzGg33QcYaRvDYurMxgQPNQ=",
"strip_prefix": "mpl-boost-1.83.0",
"url": "https://github.com/boostorg/mpl/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-MRDbXJxQABQAdnl9YVkvir/9UOkeBKFT7iS/R9MOOOw=",
"BUILD.bazel": "sha256-xKR7/+uQsQBjn/NDKq5VKPVs54/sxEtJwp+HGeA0k/M="
}
}
22 changes: 22 additions & 0 deletions modules/boost.mpl/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/mpl",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/mpl"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}
18 changes: 18 additions & 0 deletions modules/boost.optional/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module(
name = "boost.optional",
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.detail", version = "1.83.0")
bazel_dep(name = "boost.move", version = "1.83.0")
bazel_dep(name = "boost.predef", version = "1.83.0")
bazel_dep(name = "boost.static_assert", 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 = "boost.utility", version = "1.83.0")
bazel_dep(name = "rules_cc", version = "0.0.9")
35 changes: 35 additions & 0 deletions modules/boost.optional/1.83.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

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

cc_library(
name = "boost.optional",
hdrs = glob(
[
"include/**/*.hpp",
"include/**/*.h",
],
exclude = glob([
"include/boost/optional/detail/*.hpp",
]),
),
includes = ["include"],
features = [
"parse_headers",
],
textual_hdrs = glob([
"include/boost/optional/detail/*.hpp",
]),
deps = [
"@boost.assert",
"@boost.config",
"@boost.core",
"@boost.detail",
"@boost.move",
"@boost.predef",
"@boost.static_assert",
"@boost.throw_exception",
"@boost.type_traits",
"@boost.utility",
],
)
1 change: 1 addition & 0 deletions modules/boost.optional/1.83.0/overlay/MODULE.bazel
19 changes: 19 additions & 0 deletions modules/boost.optional/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.optional//:boost.optional'
10 changes: 10 additions & 0 deletions modules/boost.optional/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-Q2ub2unT9FSJ5zzssfsD7IQWMRD67/CgOa0esv09kDE=",
"strip_prefix": "optional-boost-1.83.0",
"url": "https://github.com/boostorg/optional/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-0tnJr6E5qgdSEuRRVwruJp1z1czaMasKszqaS0BsDPc=",
"BUILD.bazel": "sha256-l7py6e6Q42oML8Qh6/N00JTV4amB5tMitFJgR6EY/f0="
}
}
22 changes: 22 additions & 0 deletions modules/boost.optional/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/optional",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/optional"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}

0 comments on commit 80cfc52

Please sign in to comment.