Skip to content

PARALLEL_MAKE default to core count #105

Closed

Description

@mdavidsaver

It looks like GHA changed their build environment at some point. As I read it, runners now get 4 cores.

python 3.4 added os.cpu_count(), which could provide a dynamic default.

ci-scripts/cue.py

Lines 154 to 156 in 4e4f33e

ci['parallel_make'] = 2
if 'PARALLEL_MAKE' in os.environ:
ci['parallel_make'] = int(os.environ['PARALLEL_MAKE'])

Activity

  1. ralphlange commented on Nov 18, 2025

    @ralphlange
    Contributor

    Closed by #106.

  2. mdavidsaver commented on Nov 20, 2025

    @mdavidsaver
    MemberAuthor

    A quick test with PVXS shows that ubuntu-latest does now build with -j4. Overall runtime seems to be about the same so far. No magic 50% speedup :(

  3. ralphlange commented on Nov 20, 2025

    @ralphlange
    Contributor

    We would probably need to optimize the layout of our source files. (Not suggesting this.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions