v8-cmake
v8-cmake copied to clipboard
Generating builtins-generated => The system cannot execute the specified program.
I have a hunch that this is due to the command line getting too long? Possibly only a Windows issue building from a long sub-path. And by long I don't mean all that long at all really - perhaps 20 chars. One build I did actually succeeded and then had unresolved externals linking mksnapsot. I guess it would be luck of the draw as to where MAX_PATH and any whitespace in the commandline intersect..
In any case it looks like it is a problem that will only get worse. And this stage of the build could presumably run multiple instances of torque in parallel to avoid the bottleneck here.
Same issue, the windows CI works good, not sure why.
CI builds in D:/a/v8-cmake/build
which is probably just short enough to avoid the issue.
This was quite a while ago now, but if IIRC, multiple files are passed to torque in one go. Perhaps this could be divided up and maybe even parallelized in the process - I think it was maxing out only one core on my system. But as I said this was a long time ago so I could be mistaken!!
Same issue
Any update on this? The windows build is completely broken like this, and there's already a pull request.
I think I found some solutions.
- Clone your project in a shorter path
- Enable Long Paths in Windows 10, Version 1607, and Later
- Use an older version of v8-cmake
Is there any other fix for this instead of having to use an older version? I don't think for OSS it would be great to ask people to run a reg patch file to build a project.