Switching to split repos - binaries
Mick Jordan
mick.jordan at oracle.com
Fri Aug 14 14:55:11 UTC 2015
On 8/14/15 2:46 AM, Jaroslav Tulach wrote:
>
> The last thing I cry for is easy binary re-use of some suites. Imho, if in my
> above described repository structure I remove
>
> truffle
>
> directory then graal-js should automatically download the binary bits of
> truffle instead of trying to/requiring checkout of truffle Hg repository. The
> same for jvmci - I really don't think I ever make a change that would require
> me to touch jvmci. I know there is some (hidden) environment variable one can
> use, but in my opinion working on the layout itself would be better.
>
> If the directory isn't there: "just use binaries" would be so easy to
> understand concept!
>
The premise is that source is better for development, so the default
behavior is to clone the repos of a missing suite. You set the
MX_BINARY_SUITES env var to tell mx which suites it should load as
binaries. We could invert this and have an MX_SOURCE_SUITES variable
instead that would give you your default.
Mick
More information about the graal-dev
mailing list