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

CMake: Add Google Benchmark (with FetchContent) #296

Merged

Conversation

meastp
Copy link
Contributor

@meastp meastp commented Mar 12, 2019

Adds google benchmark to dependencies, and opencensus' benchmarks to the cmake build

@meastp meastp force-pushed the meastp_cmake_google_benchmark branch 2 times, most recently from 2343b3d to 36f29c2 Compare March 14, 2019 05:49
@meastp meastp changed the title Add Google Benchmark (with FetchContent) CMake: Add Google Benchmark (with FetchContent) Mar 14, 2019
@meastp meastp mentioned this pull request Mar 14, 2019
16 tasks
@g-easy
Copy link
Contributor

g-easy commented Mar 18, 2019

Please fix the cmake-on-linux break on Travis: https://travis-ci.org/census-instrumentation/opencensus-cpp/jobs/506125611

Regarding format, please try out #299

@meastp
Copy link
Contributor Author

meastp commented Mar 27, 2019

@g-easy Unfortunately, the docker container did not work fully. All the sed commands fail with sed: cannot rename ./tools/sedMOsykq: No such file or directory, I'm guessing because of limitations in mounting/binding volumes (sed -i creates a temp file). When I comment out the sed commands in format.sh, everything works... Are there other options for replacing text in files...?

@meastp meastp force-pushed the meastp_cmake_google_benchmark branch from 36f29c2 to d375a97 Compare April 2, 2019 15:25
@meastp
Copy link
Contributor Author

meastp commented Apr 2, 2019

I managed to run format.sh (with some modifications, see #310).

cmake/OpenCensusHelpers.cmake Outdated Show resolved Hide resolved
cmake/OpenCensusHelpers.cmake Outdated Show resolved Hide resolved
cmake/OpenCensusHelpers.cmake Outdated Show resolved Hide resolved
@g-easy
Copy link
Contributor

g-easy commented Apr 3, 2019

This is looking good!

@meastp meastp force-pushed the meastp_cmake_google_benchmark branch from 629858a to 4d246cf Compare April 3, 2019 17:30
@meastp meastp force-pushed the meastp_cmake_google_benchmark branch from 4d246cf to b57d2fd Compare April 3, 2019 18:15
@meastp
Copy link
Contributor Author

meastp commented Apr 4, 2019

ok, fixed comments :)

@g-easy g-easy merged commit a793d01 into census-instrumentation:master Apr 5, 2019
@g-easy
Copy link
Contributor

g-easy commented Apr 5, 2019

Awesome! Thank you! Wanna go tick the benchmarks box in #244 ? :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants