diff options
| author | Eric Fiselier <eric@efcs.ca> | 2016-08-29 19:50:49 +0000 |
|---|---|---|
| committer | Eric Fiselier <eric@efcs.ca> | 2016-08-29 19:50:49 +0000 |
| commit | 8b4a30584a8e34893d3ded7923479bfc89b45f40 (patch) | |
| tree | 41a8f7de761bcb402d9c65d8f2399d8bf90d3b65 /libcxx/docs/BuildingLibcxx.rst | |
| parent | 354832e585723dad6bf2a60e74efe2f5c0368748 (diff) | |
| download | bcm5719-llvm-8b4a30584a8e34893d3ded7923479bfc89b45f40.tar.gz bcm5719-llvm-8b4a30584a8e34893d3ded7923479bfc89b45f40.zip | |
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
Diffstat (limited to 'libcxx/docs/BuildingLibcxx.rst')
| -rw-r--r-- | libcxx/docs/BuildingLibcxx.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/docs/BuildingLibcxx.rst b/libcxx/docs/BuildingLibcxx.rst index 26fa2a4a584..219109ed64e 100644 --- a/libcxx/docs/BuildingLibcxx.rst +++ b/libcxx/docs/BuildingLibcxx.rst @@ -251,7 +251,7 @@ libc++ Feature Options .. option:: LIBCXX_INCLUDE_BENCHMARKS:BOOL - **Default**: ``OFF`` + **Default**: ``ON`` Build the libc++ benchmark tests and the Google Benchmark library needed to support them. |

