Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request multi-process build #84

Open
fatalfeel opened this issue Nov 30, 2021 · 2 comments
Open

feature request multi-process build #84

fatalfeel opened this issue Nov 30, 2021 · 2 comments

Comments

@fatalfeel
Copy link

Need multi-process build - its very fast to build many xxxx.c at the same time

@xianjimli
Copy link
Member

scons -j4

@fatalfeel
Copy link
Author

fatalfeel commented Dec 1, 2021

#thank u sir

CPU_NUM=$(grep processor /proc/cpuinfo | awk '{field=$NF};END{print field+1}')
echo "CPU number = "$CPU_NUM

make -j$CPU_NUM

how about this way add into scons

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

No branches or pull requests

2 participants