Open jeroen opened 4 years ago
It's not yet possible to depend on python 3. Depot tools still requires python 2, but I'm sure that it'll be only a question of weeks
OK thanks. Also, do you know if it is possible to build with gcc instead of clang? If you build this with clang on Arch, can R users link to the library if the R package is compiled with GCC?
Yes, this is what I do. I only build it with clang because the gcc build was once broken. Not sure about the current status
I tried to build it on windows but, as expected, I get stuck with python problems. Can you send a ping when depot_tools works on python3?
Sure, will do
python3 build is supported in https://github.com/JanMarvin/v8-R/tree/python3 tests still require python2.
latest v8 builds with python3, tests still require python2
Neat it would be cool if we can port it to msys2 and rtools!
My ultimate goal is to update this one at some point: https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-v8
I haven't played much attention to the Windows msys2 side of things, aside from your talk a few years ago in the Hague, but I do have a Windows installation running and could have a look (unless you're doing that anyways).
Had a look. And this modification of the v8-r PKGBUILD allows to checkout the source code using their python (presumably the easier part). No clue how to tell v8 that the PKGBUILD wants a mingw build and that it is not supposed to look for any visual studio files. Most likely it will require some modifications to their BUILD.gn files.
Somebody else also happens to been working on this right now: https://github.com/msys2/MINGW-packages/pull/6856. Can you have a quick look at his PKGBUILD to see if it seems correct, from your experience?
oh cool, sure i'll have a look. saves me some nerves digging further
v8_use_external_startup_data=true
iirc this did not work for us. Other that that I there are many changes to the build process I'm glad someone volunteered to do, but ideally they should be included upstream. Such long patches have a tendency to become annoying over time. My approach probably would be different, just copying a few build files into the build directory to avoid the hassle of modifying the patches once google modifies their files (and they will do so).
I'd like to look into porting this package to Windows in: https://github.com/r-windows/rtools-packages
However one thing I noticed is that you use python2 which is currently being killed of everywhere. Is it possible to use python3 too?