Skip to content
Snippets Groups Projects
Commit f8b3075f authored by Yaroslav Lobankov's avatar Yaroslav Lobankov Committed by Vladimir Davydov
Browse files

ci: specify number of jobs when executing `make`

Unlimited number of make jobs may lead to OOM. We should use
`make -j $(nproc)` instead of `make -j` on Linux. Note, on OSX
and FreeBSD the `nproc` command is unavailable out of the box.
So using `sysctl -n hw.ncpu` instead.

Closes #7020

NO_DOC=ci
NO_TEST=ci
NO_CHANGELOG=ci
parent d627ee26
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment