Commit fcc4118c authored by Lotrado's avatar Lotrado
Browse files

Use nproc instead of grep on /proc/cpuinfo for CPU core count detection in CI task.

parent 913bcd7d
......@@ -62,7 +62,7 @@ build-scanbuild:
script:
- export CC=clang
- export CXX=clang++
- export CMAKE_BUILD_PARALLEL_LEVEL=$(grep -c ^processor /proc/cpuinfo)
- export CMAKE_BUILD_PARALLEL_LEVEL=$(nproc --all)
- echo "Build parallelism:" ${CMAKE_BUILD_PARALLEL_LEVEL}
- mkdir -p build
- cd build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment