-
-
Notifications
You must be signed in to change notification settings - Fork 221
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
Build for static V8 library on Windows #102
Conversation
Codecov Report
@@ Coverage Diff @@
## master #102 +/- ##
=======================================
Coverage 96.61% 96.61%
=======================================
Files 12 12
Lines 414 414
=======================================
Hits 400 400
Misses 9 9
Partials 5 5 Continue to review full report at Codecov.
|
@cleiner , |
@neptoess, With regard to merging this into MSYS2, I think there's nothing to merge here (except for the tiny
As I understand it, the need to track the MSYS2 package already exists (and would continue to exist even with a provided libv8.a), because if v8go uses a newer V8 version than MSYS2, Windows builds may break as the V8 API is not guaranteed to stay compatible, is it? That said, I get that it's a potential maintenance burden in its current form and I'd understand if the project would rather not take it on. |
@cleiner WOW This looks amazing 🤩 |
@zwang Do you have any time to look at this one, as you are more familiar with the Window ecosystem than I? I want to make sure the path to upgrading V8 to latter versions will be possible/easy/documented, which is my main concern. |
@cleiner can you possibly update with latest master? For some reason GH is returning a 500 when I try and use the GUI to try and update. |
The overall changes looks good to me. Although I could not verify the correctness of the patches, I assume the patches are good since they are from mingw. Regarding the path to upgrading V8 to latter versions, it seems to be possible and is well documented as I see. |
Co-authored-by: cleiner <cleiner@users.noreply.github.com>
Co-authored-by: cleiner <cleiner@users.noreply.github.com>
4f7d82e
to
397b708
Compare
This PR adds the bits required to provide a prebuilt static V8 library on Windows, offering basically the same level of end user convenience as on Linux/Mac (i.e. not having to deal with a dozen DLLs in a distribution).
Existing Windows builds using v8go should not break, the change merely renders the need to package additional files with the executable unnecessary.