Re: [v8-users] Failure to build for OSX

2024-09-21 Thread Alex Dovzhanyn
Ben -- huge thanks again for the tips. Your recommendations were crucial to getting me unblocked. I'm happy to report that I was able to get v12.5 to compile successfully with c++17. I tried going up to 12.6 but was getting some weird issues with missing headers, so I'll stick with v12.5 for the

Re: [v8-users] Failure to build for OSX

2024-09-20 Thread Alex Dovzhanyn
Thats extremely helpful, Ben! I'll defer to trying to compile 12.4.254 then, since the rest of my codebase is in c++17 anyway -- that would allow me to keep things simpler. I'll report back (hopefully with a success) here soon. Cheers, Alex On Fri, Sep 20, 2024 at 2:52 PM Ben Noordhuis wrote: >

Re: [v8-users] Failure to build for OSX

2024-09-20 Thread Ben Noordhuis
There was no flag day event where everything was switched to C++20 _en masse_ so what minor/patch works with your compiler and stdlib may be hit or miss. The fact the compiler accepts -std=c++20 means it's at least aware of C++20 - but maybe not everything, and evidently the stdlib isn't fully conf

Re: [v8-users] Failure to build for OSX

2024-09-20 Thread Alex Dovzhanyn
Thanks so much for the response, Ben! I think that may be the issue -- I'm trying to compile 13.0 and am trying to build with apple clang c++20, and it's just continually tripping up on itself. It seems that apple clang doesn't support enable_view. I've since switched to trying to build 12.9

Re: [v8-users] Failure to build for OSX

2024-09-20 Thread Ben Noordhuis
On Thu, Sep 19, 2024 at 9:15 PM Alex Dovzhanyn wrote: > > Hey all, I'm trying to follow the steps listed here in the V8 docs to build > V8 on OSX. > > gn args out.gn/x64.release.sample > shows the generated arguments as: > > is_component_build = false > is_debug = false > target_cpu = "x64" > use

[v8-users] Failure to build for OSX

2024-09-19 Thread Alex Dovzhanyn
Hey all, I'm trying to follow the steps listed here in the V8 docs to build V8 on OSX. gn args out.gn/x64.release.sample shows the generated arguments as: is_component_build = false is_debug = false target_cpu = "x64" use_custom_libcxx = false v8_mo