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

Make customBoogie.patch work with recent versions #4807

Merged
merged 3 commits into from
Nov 29, 2023

Conversation

atomb
Copy link
Member

@atomb atomb commented Nov 20, 2023

The previous version of the patch would successfully apply, but would not build against a recent Boogie source tree.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@atomb atomb self-assigned this Nov 20, 2023
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
<PackageReference Include="System.Runtime.Numerics" Version="4.3.0" />
<PackageReference Include="System.Collections.Immutable" Version="1.7.0" />
- <PackageReference Include="Boogie.ExecutionEngine" Version="3.0.5" />
+ <ProjectReference Include="..\..\boogie\Source\ExecutionEngine\ExecutionEngine.csproj" />
+ <ProjectReference Include="..\..\boogie\Source\BaseTypes\BaseTypes.csproj" />
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to reference all of these instead of just ExecutionEngine?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not 100% sure why they're necessary, but I've observed that local build fails without them but succeed with them.

Copy link
Member

Choose a reason for hiding this comment

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

Are all of them necessary? I think we could prune this list

Copy link
Member Author

Choose a reason for hiding this comment

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

I created the list by adding dependencies that the build claimed to need until it succeeded. Local builds, at least for me, don't succeed with any of them removed.

Copy link
Member

@keyboardDrummer keyboardDrummer Nov 28, 2023

Choose a reason for hiding this comment

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

OK, sorry. Related but not relevant for now: I'd like to change Boogie at some point so the projects that Dafny conceptually does not use at all, like Houdini or Concurrency, don't need to be included, either in the build or at runtime.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I'd like that, too. I agree that it's unpleasant for this change to be necessary.

@keyboardDrummer keyboardDrummer enabled auto-merge (squash) November 28, 2023 17:34
@keyboardDrummer keyboardDrummer merged commit f7ebf70 into dafny-lang:master Nov 29, 2023
20 checks passed
@atomb atomb deleted the update-custom-boogie-patch branch January 4, 2024 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants