bughelp wanted
Repository metrics
- Stars
- (7,968 stars)
- PR merge metrics
- (平均マージ 4d 2h) (30d で 19 merged PRs)
説明
master version (I tested revision c9311a44e1280853632fe2472345dd04514a2f74) fails to build on Android, with the error:
/Users/marat/benchmark/src/sysinfo.cc:586:21: error: use of undeclared identifier 'getloadavg'
const int nelem = getloadavg(res.data(), kMaxSamples);
^
1 error generated.
Repro:
git clone https://github.com/google/benchmark.git
cd benchmark
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=/path/to/android/ndk/build/cmake/android.toolchain.cmake -DBENCHMARK_ENABLE_TESTING=OFF ..
make