I use Bitbucket Pipelines to compile a C++ project with over 1000 translation units. The total build time for this is 24 minutes, which is absolutely crazy. On the build machine I have in office, it has 24 logical CPUs which yield very fast builds (5 minutes average). How many logical CPUs are available to docker containers in Bitbucket Pipelines? Being able to compile translation units in parallel for C++ builds is essential in reducing build times to cut down on cost of hosting builds using Pipelines.
FYI, we were trying to read the number of CPUs from /sys/fs/cgroup/cpuset.cpus but after the https://bitbucket.org/blog/announcing-our-new-ci-cd-runtime-with-up-to-8x-faster-builds announcement; this file is empty!
The command nproc exists and returns 16 (with size: 8x)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, we were trying to read the number of CPUs from /sys/fs/cgroup/cpuset.cpus but after the https://bitbucket.org/blog/announcing-our-new-ci-cd-runtime-with-up-to-8x-faster-builds announcement; this file is empty!
The command nproc exists and returns 16 (with size: 8x)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.