-
Notifications
You must be signed in to change notification settings - Fork 70
Fix Windows CI build #738
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
Fix Windows CI build #738
Conversation
Recent MSYS2 updates broke the build again. It turns out libff was being built by referencing the MSYS2-installed headers instead of the GHC-bundled ones. This adjusts the build process to have libff built with the same headers as the rest of hevm.
blishko
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 OK, but isn't there a way to use relative path instead of this absolute path D:/a/_temp/msys64/clang64/include? Can we at least extract it to a variable instead of repeating it 4 times?
blishko
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.
OK!
|
Looks like extracting to a variable actually broke the build again? |
|
yeah, I defined the variable too late in the process 😅 I went ahead and updated it to do it earlier and also reference the path from the action, hopefully it works this time 🤞 |
blishko
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.
Nice!
This is much better, no hardcoded path :)
Equivalent of argotorg/hevm#738
Description
Recent MSYS2 updates broke the build again. It turns out libff was being built by referencing the MSYS2-installed headers instead of the GHC-bundled ones. This adjusts the build process to have libff built with the same headers as the rest of hevm.
Checklist