-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add mx performance script #567
Conversation
git submodule update --init --recursive --depth 1 kmxwasm/k-src/mx-semantics/ | ||
|
||
|
||
feature_shell "poetry -C kmxwasm install && make -C kmxwasm kbuild-haskell" |
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.
Do we need to execute the same command in master_shell
?
Also, will the LLVM backend shared library be built by make -C kmxwasm kbuild-haskell
? @virgil-serbanuta @bbyalcinkaya could you have a look at this PR and make sure the script does what you'd expect?
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.
yes, master shell is used to compare our feature branch change to the current version of booster in mx
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.
these steps are copied from the CI run in the mx repo:
https://github.com/runtimeverification/mx-backend/blob/872626e6a658bdbdc7914e5c1c01d19cffc3f11c/.github/workflows/test.yml#L96-L118
so hopefully should do the same thing....
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.
I would guess that the poetry install
and make kbuild-haskell
are independent of the booster version, so we wouldn't have to repeat that command (we don't at the moment).
Better to have this confirmed by @virgil-serbanuta or @bbyalcinkaya , though.
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.
The kasmer tool builds the semantics at start (for the Haskell backend, for the LLVM backend, and, if --booster
is passed to the tool, it also builds the llvm library). Tests do something similar. make -C kmxwasm kbuild-haskell
should not be needed unless you need to run things outside our tool (or, perhaps, you just want to check that it compiles).
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.
FWIW, we will probably add the option to use an already-built semantics soon, we can try to do that sooner if you need it.
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.
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.
LGTM. Will test this locally (Linux) but we can merge and iterate (not user-facing)
No description provided.