Closed Searle closed 10 years ago
Unfortunately, tools like hackificator
and remove_soft_types
require a lot of dependencies to build (OPAM, pfff and so on) and have complex build sequence. So at the moment these cannot be built on the every machine in the automated way.
hphpize
requires entire source tree because it uses HHVM_INCLUDE_DIRS, therefore it cannot be installed in /usr/bin or any other directory without full sources.
You should not interrupt emerge of hhvm to grab any tools. To preserve entire working directory after build you should run emerge with feature "keepwork":
FEATURES="keepwork" emerge hhvm
When emerge finished you can find working directory at path like /var/tmp/portage/dev-php/hhvm-9999/work/hhvm-9999
.
I believe the hhvm-psql extention only needs the two files I mentioned, perhaps this is valid for many other extensions, so maybe keeping just these would come in handy. Just a thought. Thanks for the "keepwork" tip, I totally had forgotten about that.
About hackificator: Maybe you could preserve the hack/tools folder somewhere (/usr/share?). It's quite an important tool for conversion of existing code and it's very simple to manually install afterwards with e.g. ocamlbrew.
The ebuild works great, thanks. But I think some tools should be installed, e.g. hackificator. Also, to install hhvm-pgsql, I have to interrupt the emerge of hhvm to grab hphp/tools/hphpize/hphpize and hphp/system/constants.h. It would be great to have these installed in /usr/bin or /usr/share/hhvm