Turn On -DLIBCXX_ENABLE_BENCHMARKS by default.
authorEric Fiselier <eric@efcs.ca>
Mon, 29 Aug 2016 19:50:49 +0000 (19:50 +0000)
committerEric Fiselier <eric@efcs.ca>
Mon, 29 Aug 2016 19:50:49 +0000 (19:50 +0000)
commit8b4a30584a8e34893d3ded7923479bfc89b45f40
tree41a8f7de761bcb402d9c65d8f2399d8bf90d3b65
parent354832e585723dad6bf2a60e74efe2f5c0368748
Turn On -DLIBCXX_ENABLE_BENCHMARKS by default.

This patch enables the `cxx-benchmarks` target by default. Note that the target
still has to be manually invoked since it isn't included in the default 'make'
rule.

This patch also gets the benchmarks building w/ GCC. The build previously
required the '-stdlib=libc++' flag but upstream patches to Google Benchmark
now allow the library to build w/ libc++ and GCC.

These changes should make the benchmarks easier to build and test.

llvm-svn: 279999
libcxx/CMakeLists.txt
libcxx/benchmarks/CMakeLists.txt
libcxx/docs/BuildingLibcxx.rst
libcxx/docs/TestingLibcxx.rst