Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add boost.detail #2580

Merged
merged 4 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions modules/boost.detail/1.83.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module(
name = "boost.detail",
version = "1.83.0",
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
compatibility_level = 108300,
)

bazel_dep(name = "rules_cc", version = "0.0.9")
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
bazel_dep(name = "boost.array", version = "1.83.0", dev_dependency = True)
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
bazel_dep(name = "boost.config", version = "1.83.0")
bazel_dep(name = "boost.core", 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")
20 changes: 20 additions & 0 deletions modules/boost.detail/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(
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
name = "boost.detail",
hdrs = glob([
"include/**/*.hpp",
"include/**/*.h",
"include/**/*.ipp",
]),
includes = ["include"],
deps = [
"@boost.config",
"@boost.core",
"@boost.preprocessor",
"@boost.static_assert",
"@boost.type_traits",
],
)
1 change: 1 addition & 0 deletions modules/boost.detail/1.83.0/overlay/MODULE.bazel
67 changes: 67 additions & 0 deletions modules/boost.detail/1.83.0/overlay/test/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
load("@rules_cc//cc:defs.bzl", "cc_test")

cc_test(
name = "allocator_utilities_test",
srcs = ["allocator_utilities_test.cpp"],
deps = [
"@boost.array",
"@boost.detail",
],
)

cc_test(
name = "binary_search_test",
srcs = ["binary_search_test.cpp"],
deps = [
"@boost.detail",
],
)

cc_test(
name = "blank_test",
srcs = ["blank_test.cpp"],
deps = [
"@boost.detail",
],
)

cc_test(
name = "is_sorted_test",
srcs = ["is_sorted_test.cpp"],
deps = [
"@boost.array",
"@boost.detail",
],
)

cc_test(
name = "is_xxx_test",
srcs = ["is_xxx_test.cpp"],
deps = [
"@boost.detail",
],
)

cc_test(
name = "numeric_traits_test",
srcs = ["numeric_traits_test.cpp"],
deps = [
"@boost.detail",
],
)

cc_test(
name = "reference_content_test",
srcs = ["reference_content_test.cpp"],
deps = [
"@boost.detail",
],
)

cc_test(
name = "test_utf8_codecvt",
srcs = ["test_utf8_codecvt.cpp"],
deps = [
"@boost.detail",
],
)
5 changes: 5 additions & 0 deletions modules/boost.detail/1.83.0/overlay/test/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
bazel_dep(name = "boost.detail")
local_path_override(
module_name = "boost.detail",
path = "..",
)
21 changes: 21 additions & 0 deletions modules/boost.detail/1.83.0/presubmit.yml
meteorcloudy marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@boost.detail//:boost.detail'
test_targets:
- "//..."
12 changes: 12 additions & 0 deletions modules/boost.detail/1.83.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"integrity": "sha256-bR2mqmLf56CyWpmlciUYscTTKAq9S05hEloNTWLBuuE=",
"strip_prefix": "detail-boost-1.83.0",
"url": "https://github.com/boostorg/detail/archive/refs/tags/boost-1.83.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-kkSVx2o+ukvU0KhbAnKKw3WhwDV5rCHLLupufJzJmkc=",
"BUILD.bazel": "sha256-K/6wtHQohc/Ibxug7LqzmiEPstFHL607S7THJUvETqo=",
"test/MODULE.bazel": "sha256-fQGmLedAF0zDrau85gZ8oQfFSBOz1BEVRjiEuc8lGMM=",
"test/BUILD.bazel": "sha256-oyxh1d0QbD/J6eAo44Tb60bNuDHix6dBorsm+L+k7nI="
}
}
22 changes: 22 additions & 0 deletions modules/boost.detail/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"homepage": "http://boost.org/libs/detail",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
},
{
"email": "julian.amann@tum.de",
"github": "Vertexwahn",
"name": "Julian Amann"
}
],
"repository": [
"github:boostorg/detail"
],
"versions": [
"1.83.0"
],
"yanked_versions": {}
}
Loading