The V8 port hasn't been updated since 2013 it seems.
There have been *very* important improvements in between, including API changes and many performance and stability improvements on all platforms.
Maybe lang/v8 should be at v5.1 and lang/v8-devel at v5.5 (or at least v8-devel should be at v5.1)
Thank you very much.
The problem is the build structure, so someone needs to provide a patch
for the update.
I think, maintainers of www/chromium or devel/electron4 can help with that. Current release of v8 uses gn build system, which is also used by chromium and electron.
The 5.1 port referenced here fails with a gyp error, but maybe it's an easy fix.
I have a wip port: https://github.com/MikaelUrankar/v8-ports
Created attachment 215743 [details]
Created attachment 215746 [details]
Created attachment 215773 [details]
I have testbuilt in poudriere on cur-amd, cur-i386, 11.4-amd and it was fine.
It somehow failed on 12.1 ?
(In reply to Kurt Jaeger from comment #9)
It requires llvm10, I've uploaded the wrong patch :(
Created attachment 215995 [details]
(In reply to Mikael Urankar from comment #11)
Thanks, built was fine on cur-a, cur-i, 12.1a and 11.4a.
Created attachment 216145 [details]
Only install llvm10 on 12.1 (11.4 and 13 already ship clang10 in base)
Add cppgc include
testbuilds are fine after I added on pkg-plist line for:
Error: Orphaned: include/cppgc/internal/caged-heap-local-data.h
Created attachment 216165 [details]
Created attachment 216175 [details]
put distfiles on freefall
testbuilds are fine, thanks!
Thanks, Mikael. I'll test it ASAP.
BTW, lang/v8 should track the stable release (8.3) which is 220.127.116.11 now.