Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
8df87f6c
Unverified
Commit
8df87f6c
authored
Jan 05, 2021
by
Yannic
Committed by
GitHub
Jan 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add bazel target for benchmark_release (#1078)" (#1081)
This reverts commit
d8254bb9
.
parent
a6d08aea
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
BUILD.bazel
BUILD.bazel
+2
-20
No files found.
BUILD.bazel
View file @
8df87f6c
...
@@ -10,8 +10,8 @@ config_setting(
...
@@ -10,8 +10,8 @@ config_setting(
visibility = [":__subpackages__"],
visibility = [":__subpackages__"],
)
)
filegroup
(
cc_library
(
name = "benchmark
_srcs
",
name = "benchmark",
srcs = glob(
srcs = glob(
[
[
"src/*.cc",
"src/*.cc",
...
@@ -19,25 +19,7 @@ filegroup(
...
@@ -19,25 +19,7 @@ filegroup(
],
],
exclude = ["src/benchmark_main.cc"],
exclude = ["src/benchmark_main.cc"],
),
),
)
cc_library(
name = "benchmark",
srcs = [":benchmark_srcs"],
hdrs = ["include/benchmark/benchmark.h"],
linkopts = select({
":windows": ["-DEFAULTLIB:shlwapi.lib"],
"//conditions:default": ["-pthread"],
}),
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)
cc_library(
name = "benchmark_release",
srcs = [":benchmark_srcs"],
hdrs = ["include/benchmark/benchmark.h"],
hdrs = ["include/benchmark/benchmark.h"],
defines = ["NDEBUG"],
linkopts = select({
linkopts = select({
":windows": ["-DEFAULTLIB:shlwapi.lib"],
":windows": ["-DEFAULTLIB:shlwapi.lib"],
"//conditions:default": ["-pthread"],
"//conditions:default": ["-pthread"],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment