mirror of
https://github.com/rubyjs/mini_racer
synced 2023-03-27 23:21:28 -04:00
Update to use libv8-node 16.x (#210)
* Update to use libv8-node 16.3.0 Based on V8 9.0, his is the new LTS, node 15 now being unsupported. It notably introduces single threaded mode. Requiring c++14 is apparently the only change needed for this major. A separate PR will add a more helpful install time check for compiler requirements. * Disable pointer compression Node 16.4.0 introduced new cage flags for the experimental pointer compression stuff. Unfortunately something fails and none of them are set which causes the build to bail out because of the inconsistency. * Update to use libv8-node 16.10.0
This commit is contained in:
parent
6c7abc4791
commit
8bd860bde9
2 changed files with 3 additions and 3 deletions
|
@ -11,9 +11,9 @@ $CPPFLAGS += " -Wall" unless $CPPFLAGS.split.include? "-Wall"
|
|||
$CPPFLAGS += " -g" unless $CPPFLAGS.split.include? "-g"
|
||||
$CPPFLAGS += " -rdynamic" unless $CPPFLAGS.split.include? "-rdynamic"
|
||||
$CPPFLAGS += " -fPIC" unless $CPPFLAGS.split.include? "-rdynamic" or IS_DARWIN
|
||||
$CPPFLAGS += " -std=c++0x"
|
||||
$CPPFLAGS += " -std=c++14"
|
||||
$CPPFLAGS += " -fpermissive"
|
||||
$CPPFLAGS += " -DV8_COMPRESS_POINTERS"
|
||||
#$CPPFLAGS += " -DV8_COMPRESS_POINTERS"
|
||||
$CPPFLAGS += " -fvisibility=hidden "
|
||||
|
||||
$CPPFLAGS += " -Wno-reserved-user-defined-literal" if IS_DARWIN
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
module MiniRacer
|
||||
VERSION = "0.4.0"
|
||||
LIBV8_NODE_VERSION = "~> 15.14.0.0"
|
||||
LIBV8_NODE_VERSION = "~> 16.10.0.0"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue