-
Notifications
You must be signed in to change notification settings - Fork 614
Add boost.timer version 1.83.0.bcr.1 #6538
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
Merged
kotlaja
merged 7 commits into
bazelbuild:main
from
danielflexion:boost.timer-1.83.0.bcr.1
Nov 20, 2025
Merged
Changes from 2 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
53e45cd
Adding boost.timer version 1.83.0.bcr.1
danielflexion a788090
Remove extra lines after running //tools:update_integrity
danielflexion 5ce7653
Upgrade to rules_cc v0.0.15. Remove from presubmit bazel matrix as d…
danielflexion 8611d54
Merge branch 'main' into boost.timer-1.83.0.bcr.1
danielflexion 437858a
[boost.timer 1.83.0.bcr.1] Disabling tests using boost.move for macos…
danielflexion 35c2512
Merge branch 'main' into boost.timer-1.83.0.bcr.1
danielflexion 93bacba
Merge branch 'main' into boost.timer-1.83.0.bcr.1
danielflexion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module( | ||
| name = "boost.timer", | ||
| version = "1.83.0.bcr.1", | ||
| bazel_compatibility = [">=7.2.1"], # need support for "overlay" directory | ||
| compatibility_level = 108300, | ||
| ) | ||
|
|
||
| bazel_dep(name = "boost.config", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.io", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.predef", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "platforms", version = "0.0.10") | ||
| bazel_dep(name = "rules_cc", version = "0.0.14") | ||
|
|
||
| # For tests | ||
| bazel_dep(name = "boost.chrono", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.core", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.detail", version = "1.83.0.bcr.1") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test") | ||
|
|
||
| cc_library( | ||
| name = "boost.timer", | ||
| srcs = glob(["src/*.cpp"]), | ||
| hdrs = glob( | ||
| ["include/**/*.hpp"], | ||
| # These headers are deprecated and should not be used. | ||
| exclude = [ | ||
| "include/boost/progress.hpp", | ||
| "include/boost/timer.hpp", | ||
| ], | ||
| ), | ||
| features = ["parse_headers"], | ||
| includes = ["include"], | ||
| visibility = ["//visibility:public"], | ||
| deps = [ | ||
| "@boost.config", | ||
| "@boost.io", | ||
| "@boost.predef", | ||
| ], | ||
| ) | ||
|
|
||
| cc_test( | ||
| name = "chrono_conflict_test", | ||
| srcs = ["test/chrono_conflict_test.cpp"], | ||
| deps = [ | ||
| ":boost.timer", | ||
| "@boost.chrono", | ||
| ], | ||
| ) | ||
|
|
||
| cc_test( | ||
| name = "cpu_timer_info_test", | ||
| srcs = ["test/cpu_timer_info.cpp"], | ||
| local_defines = select({ | ||
| "@platforms//os:windows": ["BOOST_ALL_NO_LIB"], | ||
| "//conditions:default": [], | ||
| }), | ||
| deps = [ | ||
| ":boost.timer", | ||
| "@boost.detail", | ||
| ], | ||
| ) | ||
|
|
||
| cc_test( | ||
| name = "cpu_timer_test", | ||
| srcs = ["test/cpu_timer_test.cpp"], | ||
| local_defines = select({ | ||
| "@platforms//os:windows": ["BOOST_ALL_NO_LIB"], | ||
| "//conditions:default": [], | ||
| }), | ||
| deps = [ | ||
| ":boost.timer", | ||
| "@boost.detail", | ||
| ], | ||
| ) | ||
|
|
||
| cc_test( | ||
| name = "progress_display_test", | ||
| srcs = ["test/progress_display_test.cpp"], | ||
| deps = [ | ||
| ":boost.timer", | ||
| "@boost.core", | ||
| ], | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module( | ||
| name = "boost.timer", | ||
| version = "1.83.0.bcr.1", | ||
| bazel_compatibility = [">=7.2.1"], # need support for "overlay" directory | ||
| compatibility_level = 108300, | ||
| ) | ||
|
|
||
| bazel_dep(name = "boost.config", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.io", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.predef", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "platforms", version = "0.0.10") | ||
| bazel_dep(name = "rules_cc", version = "0.0.14") | ||
|
|
||
| # For tests | ||
| bazel_dep(name = "boost.chrono", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.core", version = "1.83.0.bcr.1") | ||
| bazel_dep(name = "boost.detail", version = "1.83.0.bcr.1") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| matrix: | ||
| platform: | ||
| - debian10 | ||
| - debian11 | ||
| - ubuntu2004 | ||
| - ubuntu2204 | ||
| - ubuntu2404 | ||
| - macos | ||
| - macos_arm64 | ||
| - windows | ||
| bazel: [7.x, rolling] | ||
| tasks: | ||
| verify_targets: | ||
| platform: ${{ platform }} | ||
| bazel: ${{ bazel }} | ||
| build_flags: | ||
| - "--process_headers_in_dependencies" | ||
| build_targets: | ||
| - "@boost.timer" | ||
| test_flags: | ||
| - "--process_headers_in_dependencies" | ||
| test_targets: | ||
| - "@boost.timer//:all" | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "url": "https://github.com/boostorg/timer/archive/refs/tags/boost-1.83.0.tar.gz", | ||
| "integrity": "sha256-CGzESZRhRsrUlZCiwYSbcpJehk2qMWt7dHvEvgeFht8=", | ||
| "strip_prefix": "timer-boost-1.83.0", | ||
| "overlay": { | ||
| "BUILD.bazel": "sha256-yon4tnV0Qr3tqLtSYYoUJwz88QVfBExIrtEuoaGYZCU=", | ||
| "MODULE.bazel": "sha256-u3Nvlt1SmQKh7v8550716RFBMsSNDiisy0TqBAG7sTQ=" | ||
| } | ||
kotlaja marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.