Skip to content
This repository was archived by the owner on Jul 17, 2023. It is now read-only.

kraft/cmd: Add option to build on x CPUs#125

Open
StefanJum wants to merge 1 commit intounikraft:stagingfrom
unikraft-upb:fix-fast-build
Open

kraft/cmd: Add option to build on x CPUs#125
StefanJum wants to merge 1 commit intounikraft:stagingfrom
unikraft-upb:fix-fast-build

Conversation

@StefanJum
Copy link
Copy Markdown
Member

The -j, --fast option only passed -j -1 to make, which led to a lot of jobs being created increasing the load on the system.

This commit considers the argument passed to the -j, --fast command and passes it to make. If no argument is given, it will pass -1.

Signed-off-by: Stefan Jumarea stefanjumarea02@gmail.com

The `-j, --fast` option only passed `-j -1` to make, which led to a lot of
jobs being created increasing the load on the system.

This commit considers the argument passed to the `-j, --fast` command and passes
it to make. If no argument is given, it will pass -1.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant