Skip to content

Add support for a PIO_RUN_NR_OF_CORES env variable and/or platformio.ini setting #5077

Closed

Description

@Bascy

I would love to run build with one less core than all to maintain a responsive computer while building, but the default behavior of p;io run is to use all cores avaible.

It would be really nice if we could specify the number of cores to use with and evn varibale or platformio.ini setting

Activity

  1. added this to the 6.1.17 milestone on Feb 8, 2025
  2. ivankravets commented on Feb 8, 2025

    @ivankravets
    Member

    Please re-test with pio upgrade --dev.

  3. Bascy commented on Feb 8, 2025

    @Bascy
    Author

    Can i also set this in the platformio.ini?

  4. added a commit that references this issue on Feb 8, 2025
    1be6e10
  5. ivankravets commented on Feb 8, 2025

    @ivankravets
    Member

    I'm sorry, no. This feature is mentioned for the first time in the last ten years. I don't think there is a sense of complicating platformio.ini.

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions