Skip to content
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.

Use own benchmark and not any system pre-built ones: #1358

Closed
wants to merge 2 commits into from

Conversation

Yangqing
Copy link
Contributor

(1) use the cmake files of the corresponding libs
(2) allow static linkage of gtest and gbenchmark.
(3) Helps removing the temp solution in #1112

We are yet to disable the installation of the benchmark library, and I have an open pull request at google/benchmark#463 - once it is merged I will do submodule update.

cc @lukeyeager @pietern who had this issue before - hopefully this makes the solution cleaner.

(1) use the cmake files of the corresponding libs
(2) allow static linkage of gtest and gbenchmark.
(3) Helps removing the temp solution in facebookarchive#1112
@facebook-github-bot
Copy link
Contributor

@Yangqing has updated the pull request. View: changes

@Yangqing Yangqing requested a review from pietern October 20, 2017 05:38
@lukeyeager
Copy link
Contributor

👍

google/benchmark#463 is a nice solution.

Copy link
Contributor

@pietern pietern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yangqing is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Yangqing added a commit to Yangqing/caffe2 that referenced this pull request Oct 20, 2017
facebook-github-bot pushed a commit that referenced this pull request Oct 20, 2017
Summary: Closes #1362

Differential Revision: D6115853

Pulled By: Yangqing

fbshipit-source-id: 581713e328f778fe916114f4f52d7089bc25bc3c
zou3519 pushed a commit to zou3519/pytorch that referenced this pull request Mar 30, 2018
Summary:
(1) use the cmake files of the corresponding libs
(2) allow static linkage of gtest and gbenchmark.
(3) Helps removing the temp solution in pytorch#1112

We are yet to disable the installation of the benchmark library, and I have an open pull request at google/benchmark#463 - once it is merged I will do submodule update.

cc lukeyeager pietern who had this issue before - hopefully this makes the solution cleaner.
Closes facebookarchive/caffe2#1358

Differential Revision: D6111404

Pulled By: Yangqing

fbshipit-source-id: 17468d32cef27f96e9445d119eb869c9c7913118
ezyang pushed a commit to ezyang/ATen that referenced this pull request Apr 19, 2018
Summary:
(1) use the cmake files of the corresponding libs
(2) allow static linkage of gtest and gbenchmark.
(3) Helps removing the temp solution in #1112

We are yet to disable the installation of the benchmark library, and I have an open pull request at google/benchmark#463 - once it is merged I will do submodule update.

cc lukeyeager pietern who had this issue before - hopefully this makes the solution cleaner.
Closes facebookarchive/caffe2#1358

Differential Revision: D6111404

Pulled By: Yangqing

fbshipit-source-id: 17468d32cef27f96e9445d119eb869c9c7913118
zdevito pushed a commit to zdevito/ATen that referenced this pull request Apr 19, 2018
Summary:
(1) use the cmake files of the corresponding libs
(2) allow static linkage of gtest and gbenchmark.
(3) Helps removing the temp solution in #1112

We are yet to disable the installation of the benchmark library, and I have an open pull request at google/benchmark#463 - once it is merged I will do submodule update.

cc lukeyeager pietern who had this issue before - hopefully this makes the solution cleaner.
Closes facebookarchive/caffe2#1358

Differential Revision: D6111404

Pulled By: Yangqing

fbshipit-source-id: 17468d32cef27f96e9445d119eb869c9c7913118
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants