Skip to content
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

Switch --directory => --definition flag #1241

Merged
merged 8 commits into from
May 5, 2022
Merged

Switch --directory => --definition flag #1241

merged 8 commits into from
May 5, 2022

Conversation

ehildenb
Copy link
Member

@ehildenb ehildenb commented May 4, 2022

Blocked on: #1240

Fortunately KEVM was already using a unique wrapper directory for every definition it kompiled anyway, so this only needs us to remove references to teh *-kompiled directories (instead preferring the unique wrapper directory for every definition), and to switch to using the --definition flag everywhere.

@ehildenb ehildenb self-assigned this May 4, 2022
@ehildenb ehildenb requested a review from radumereuta May 5, 2022 02:28
@ehildenb ehildenb marked this pull request as ready for review May 5, 2022 02:28
Copy link
Contributor

@radumereuta radumereuta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like it if we kept the *-kompiled termination as a convention.

  • It has a strong visual cue to tell you that it's the directory generated by kompile.
  • it's easy to add to .gitignore
  • it's easy to remove/make clean

But feel free to merge if you have reasons not to though.

tests/specs/opcodes/evm-optimizations-spec/haskell/evm-optimizations-spec-kompiled/timestamp \
tests/specs/opcodes/verification/java/verification-kompiled/timestamp
provex_definitions := \
tests/specs/benchmarks/functional-spec/haskell/timestamp \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe:
tests/specs/benchmarks/functional-spec/haskell-kompiled/timestamp

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I disagree, I do not want to encourage anything that lets directory structure be a convention or "magic" for real-world semantics.

@ehildenb ehildenb merged commit cc1f577 into master May 5, 2022
@ehildenb ehildenb deleted the definition-flag branch May 5, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants