From c4f171b5cbc30bc2544c5b114e709596afcf9c1f Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Wed, 6 Dec 2023 15:10:57 +0100 Subject: [PATCH] REVERT: test cpu_count 1 --- installation/routines/setup_jukebox_core.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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