<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="margin:0;">Hello, </div><div style="margin:0;"><br></div><div style="margin:0;">I am trying to run benchmark test for llvm with llvm-test-suite, but failed. I do not have an arm-linux board, but an android userdebug phone. So I planned to run on PC with qemu-arm.</div><div style="margin:0;"><br></div><div style="margin:0;">My step (on ubuntu 18.04)</div><div style="margin:0;"><br></div><div style="margin:0;">1. git clone <a href="https://github.com/llvm/llvm-test-suite" _src="https://github.com/llvm/llvm-test-suite">https://github.com/llvm/llvm-test-suite</a> </div><div style="margin:0;">2. apt-get install qemu arm-linux-gnueabihf-gcc -y</div><div style="margin:0;">3. cd llvm-test-suite</div><div style="margin:0;">4. mkdir build & cd build</div><div style="margin:0;">5.  cmake -DCMAKE_C_COMPILER=/home/llvm-dev-3/build/bin/clang -DCMAKE_C_FLAGS=" -O2 --target=arm-linux-gnueabihf -I/usr/arm-linux-gnueabihf/include/ " -DCMAKE_BUILD_TYPE=Release -DTEST_SUITE_RUN_UNDER=qemu-arm -DTEST_SUITE_BENCHMARKING_ONLY=On  -DTEST_SUITE_RUN_BENCHMARKS=On -DCMAKE_INCLUDE_PATH=/usr/arm-linux-gnueabihf/include  ../</div><div style="margin:0;"><br></div><div style="margin:0;">But got errors like,</div><div style="margin:0;">CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):</div><div style="margin:0;">  Could NOT find Threads (missing: Threads_FOUND)</div><div style="margin:0;">Call Stack (most recent call first):</div><div style="margin:0;">  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)</div><div style="margin:0;">  /usr/share/cmake-3.10/Modules/FindThreads.cmake:205 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)</div><div style="margin:0;">  MicroBenchmarks/libs/benchmark-1.3.0/CMakeLists.txt:189 (find_package)</div><div style="margin:0;">-- Configuring incomplete, errors occurred!</div><div style="margin:0;"><br></div><div style="margin:0;">The pthread.h does exist in /usr/arm-linux-gnueabihf/include/, why cmake still can not find it?</div><div style="margin:0;"><br></div><div style="margin:0;">Or any other suggestion to run benchmark on arm? Do I need to by a raspberry-pi board? Or qemu and anrdoird dev phone are OK enough?</div><div style="margin:0;"><br></div><div style="margin:0;">Ben  </div></div>