Skip to content

Commit

Permalink
Merge pull request #80 from BYVoid/bench
Browse files Browse the repository at this point in the history
Add benchmark binary to Bazel BUILD.
  • Loading branch information
lemire authored Oct 31, 2024
2 parents 22ac461 + f5096c7 commit bc93aee
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,13 @@ cc_test(
srcs = ["tests/unit.cpp"],
deps = [":fast_double_parser"],
)

cc_binary(
name = "benchmark",
srcs = ["benchmarks/benchmark.cpp"],
deps = [
":fast_double_parser",
"@abseil-cpp//absl/strings",
"@double-conversion",
],
)
3 changes: 3 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ module(
version = "0.8.0",
compatibility_level = 0,
)

bazel_dep(name = "abseil-cpp", version = "20240722.0", dev_dependency = True)
bazel_dep(name = "double-conversion", version = "3.3.0", dev_dependency = True)

0 comments on commit bc93aee

Please sign in to comment.