Skip to content

Conversation

@fatihbm
Copy link

@fatihbm fatihbm commented Mar 16, 2022

This parameter optional but useful if it has more than one cpu.

Description

Fixes # (issue)

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

This parameter optional but if it has one more than cpus.
@tokers
Copy link
Contributor

tokers commented Mar 17, 2022

@fatihbm Could you rename the PR title according to https://github.com/zeke/semantic-pull-requests.

cd apisix-${APISIX_VERSION}
# Create dependencies
make deps
make deps # -j$(nproc) ## use this parameter for make building go fast.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The make deps will call luarocks to download dependencies. Even the make is running in parallel, luarocks can't download in parallel.

@leslie-tsang
Copy link
Member

Hello there, I afraid this feat can't do help for more than one CPU scenario.

make deps will use luarocks to install deps defined in rockspec/apisix-master-0.rockspec. which is not parallelizable. :)

@tzssangglass
Copy link
Member

as @spacewander said, this does not help with parallel downloads (it is not actually a make compilation process).

I will turn it off because there is no practical use for it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants