-
Notifications
You must be signed in to change notification settings - Fork 45
feat: enable use of preexisting weval binary #156
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
feat: enable use of preexisting weval binary #156
Conversation
guybedford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks.
f150422 to
9b953e6
Compare
a8f74f5 to
13203d4
Compare
|
Hey @guybedford requesting another review just because of the dramatic change to the CI stuff 🙇 -- took a while but it's finally 🟢 I'm pretty sure I covered the dependency graph properly, the build should now be much faster. We'll have to pay extra attention to cache keys for the three builds in the future, though IMO the current set should work for a while. Right now we build against |
|
What happened to the Weval-specific update to just use the direct release URLs? If that doesn't require API gating that sounds ideal to me. Is this PR still needed if that lands? |
|
Hey @guybedford sorry a bit late getting to this, but I was hoping that the update to use direct URLs and this could land -- this PR would enable using a pre-existing weval binary (which would remove our need to pull the URLs at all -- though we should still pick the more direct URL) |
|
@vados-cosmonic thanks for the confirmation - I don't mean to be pedantic, but I feel that it's important to get this one fixed upstream first, before landing the alternative paths, as that solves the issue for all Weval users instead of just us. |
|
I've posted bytecodealliance/weval#13 for clarity. |
|
can you do the same for wizer? The existing setups does not work on operating systems such as NixOS. |
This commit adds the ability to use a pre-existing `weval` binary as an option to `componentize`. This should enable builds without internet but hopefully also cut down on failures due to being unable to fetch the binary dynamically. Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
13203d4 to
ebec5c2
Compare
This commit heavily refactors the CI build pipeline to separate different build steps to improve build times and caching. It *should* be easier to see the dependency between the builds: - splicer (jit/AOT independent) - StarlingMonkey JIT - StarlingMonkey AOT (Weval) Along with these builds, JIT/AOT tests that should come after can pull the relevant cached artifacts. Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
ebec5c2 to
fd20df6
Compare
|
Hey @alexanderkjeldaas that sounds like a great idea! Would you mind making a new issue for it? The changes should be relatively straight forward, so we could discuss it there and probably anyone could come along and implement :) |
guybedford
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, just left a few comments but otherwise a nice refactoring of the CI.
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
c407576 to
e682dfa
Compare
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
0b0dceb to
89a1d4e
Compare
Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
89a1d4e to
bc92af2
Compare
This commit enables using a pre-existing
wevalbinary -- this is mostly to try to avoid some flaky tests injcodownstream, but this is probably a reasonable thing to have in general.I also shuffled around some instructions/docs while I was in there.