Commit d34d8132 authored by Simon Braß's avatar Simon Braß
Browse files

Ensure that NPROC is always larger equal than 1

parent 805f100e
Pipeline #9765 failed with stage
in 12 minutes and 5 seconds
......@@ -63,6 +63,9 @@ test -z "${PREFIX}" && PREFIX="${HOME}/local"
test -z "${NPROC}" && NPROC="$(($(nproc) - 1))"
# Ensure that at least a single job is allowed.
test ((NPROC < 1)) && NPROC=1
test -n "${DEBUG}" && set -x
if test -z "${CMAKE_GENERATOR}"; then
Supports Markdown
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