Hhvm: Available Fast way for build HHVM from source?

Created on 9 Mar 2017  路  8Comments  路  Source: facebook/hhvm

Hello ,
Available Fast way for build HHVM from source?

HHVM team for work on this and change some code, and for develop them every time press make ? this need long time for generate output file!.

Is there any other better way?

All 8 comments

The build is very complex and can take quite a long time to run. There isn't a way to work around this.

You are sure?, build from source HHVM need very time!
I think this need about an hour(or a long time). :-1:
my system have 12G memory ram, and CPU i core 7! but...........
this is very bad for develop a software or core!

It should only take an hour if you're doing a clean build. If you've only modified a couple of things the build time should be much much shorter.

mean : for example if just change main.cpp and test.cpp, next just delete main.o and test,o ? and next make?

You don't need to delete main.o and test.o after changing main.cpp and test.cpp. Just run make and it will re-compile only the things that have changed.

You don't need to delete anything. If you modify a file. Say main.cpp, and run make again, it should be much quicker. Also consider running make as make -j32

"Say main.cpp, and run make again" ==> how can say and call a file?, what mean this?
"make -j32" ==> -j what mean? so why 32?(my cpu have 7 core)

tank you. :+1:

make changes to main.cpp, then make again. -j allows the build to happen in parallel. the number specifies the number of things to do in parallel. i choose 32 because it is higher than the core count of your processor. (or so I am guessing). In the future consider googling what options for command line utilities do

Was this page helpful?
0 / 5 - 0 ratings