Skip to content

[RFC] 3.0 Updates - Parallel Building and Downloading #963

@crazywhalecc

Description

@crazywhalecc

[RFC] 3.0 Updates - Parallel Building and Downloading

static-php-cli 2.x has downloader for all sources, but downloading them one by one is quite slow.

It's best to support parallel downloads by default:

  1. Calculating download artifacts
  2. Queue download sources
  3. Use fiber to call curl or git

For building, it's more complicated than downloading, since it depends on the dependency tree structure calculated by builder input, and make command always use -j$(nproc) to use all cores simuteniously, we may only reduce several minutes when parallel configuring.

If you have any question or have better suggestions, please leave comment here with quote.

Metadata

Metadata

Assignees

No one assigned

    Labels

    RFCRequest for comments

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions