diff --git a/ci/default-config b/ci/default-config index 7cc22758d54..26e82ddcceb 100644 --- a/ci/default-config +++ b/ci/default-config @@ -44,7 +44,7 @@ DOCKER_UBUNTU_TAG_ARCH=arm64 # How the architecture is named in Docker DOCKER_UBUNTU_QEMU_VER=v2.9.1 DOCKER_UBUNTU_REPO=multiarch/ubuntu-core -THREADS=$(grep -c ^processor /proc/cpuinfo || nproc || sysctl -a | grep -F 'hw.ncpu') +THREADS=$(grep -c ^processor /proc/cpuinfo || nproc || sysctl -a | grep -F 'hw.ncpu' | grep -oE '[0-9]+') # All scripts should return 0 in case of success, 1 in case of permanent error, # 2 in case of temporary error, any other code in case of permanent error. diff --git a/ci/install-os-packages.sh b/ci/install-os-packages.sh index b06d7d2d7c4..23a6b1a49ff 100755 --- a/ci/install-os-packages.sh +++ b/ci/install-os-packages.sh @@ -104,7 +104,7 @@ case $PACKAGE_MANAGER in $SUDO pkg install -y readline ;; libunixodbc-dev) - $SUDO pkg install -y unixODBC + $SUDO pkg install -y unixODBC libltdl ;; libmysqlclient-dev) $SUDO pkg install -y mysql57-client