-
Notifications
You must be signed in to change notification settings - Fork 15
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: create a subdirectory per mode in debug/ #11
feat: create a subdirectory per mode in debug/ #11
Conversation
Note: run CI after merging matter-labs/era-compiler-llvm-context#24 and before merging this PR. |
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.
Address the 2nd comment as well please.
@sayon thanks! |
@sayon have you checked locally before commiting? There are compile errors. |
Benchmark results:
|
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.
Can be some weird CI issue.
Let's see why benchmark works and default fails.
I see the problem! It worked indeed on my machine, but I was using a patch in Should I manually adjust the commit hash of As for CI: Maybe CI does "cargo update" before launching tests? Therefore it has |
No, CI shouldn't do it. Please do |
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.
Apparently you're editing Cargo.lock
manually. This is not a common practice as this file is supposed to be managed by cargo
. You need to specify branches in Cargo.toml
, do cargo update
and push Cargo.lock
.
Please read the cargo docs on this before proceeding.
5d687c2
to
5c6c515
Compare
What ❔
Merging this PR requires merging matter-labs/era-compiler-llvm-context#24 first.
Support creating subfolders in
debug/
.Why ❔
Compiler tester overrides IR dumps if they were produced by launching a test repeatedly with different modes.
This change should not break behavior expected from
era-compiler-llvm-context
.Initially I wanted to just encode modes in the filenames but it turned out to be very intrusive to the code base (for one, dumping
.yul
files is done by a very different code than dumping everything else). Therefore we are creating a subdirectory per mode.