forked from google/gematria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libpfm4 git repository to enable use of perf counters by benchmar…
…ks. (google#15)
- Loading branch information
1 parent
4eca0be
commit 5b56fa1
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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,18 @@ | ||
diff --git a/BUILD.bazel b/BUILD.bazel | ||
index 60d31d2..5789203 100644 | ||
|
||
This patch is applied to google/benchmark/BUILD.bazel, renaming the dependency | ||
@libpfm//:libpfm to @pfm://pfm to be uniform with other dependencies | ||
co-dependent on libpfm4. | ||
|
||
--- a/BUILD.bazel | ||
+++ b/BUILD.bazel | ||
@@ -66,7 +66,7 @@ cc_library( | ||
"//conditions:default": [], | ||
}), | ||
deps = select({ | ||
- ":perfcounters": ["@libpfm//:libpfm"], | ||
+ ":perfcounters": ["@pfm//:pfm"], | ||
"//conditions:default": [], | ||
}), | ||
) |
This file contains 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