diff --git a/installation/routines/setup_jukebox_core.sh b/installation/routines/setup_jukebox_core.sh index cdef11b74..d3af52635 100644 --- a/installation/routines/setup_jukebox_core.sh +++ b/installation/routines/setup_jukebox_core.sh @@ -53,9 +53,8 @@ _jukebox_core_configure_pulseaudio() { _jukebox_core_build_libzmq_with_drafts() { echo " Building libzmq with drafts support" | tee /dev/fd/3 - CPU_COUNT=1 + local cpu_count=${CPU_COUNT:-$(python3 -c "import os; print(os.cpu_count())")} - echo " --- cpu_count:${cpu_count}" echo " Building libzmq v${ZMQ_VERSION}" | tee /dev/fd/3 cd "${ZMQ_TMP_DIR}" || exit_on_error