• 坚守岗位守护绿城美丽与整洁 2018-12-05
  • 重庆快乐十分开奖官网: Centos 7 PHP7 编译安装V8JS

     黑龙江快乐十分规律 www.ndtn.net # Install depot_tools first (needed for source checkout)
    git clone https://chromium.googlesource. ... s.git
    export PATH=`pwd`/depot_tools:"$PATH"

    # Download v8
    fetch v8
    cd v8

    # (optional) If you'd like to build a certain version:
    git checkout 6.4.388.18
    gclient sync

    # Setup GN
    tools/dev/v8gen.py -vv x64.release -- is_component_build=true

    # Build
    ninja -C out.gn/x64.release/

    # Install to /opt/v8/
    sudo mkdir -p /opt/v8/{lib,include}
    sudo cp out.gn/x64.release/lib*.so out.gn/x64.release/*_blob.bin \
    out.gn/x64.release/icudtl.dat /opt/v8/lib/
    sudo cp -R include/* /opt/v8/include/
    cd /tmp
    git clone https://github.com/phpv8/v8js.git
    cd v8js
    phpize
    ./configure --with-v8js=/opt/v8 LDFLAGS="-lstdc++"
    make
    make test
    sudo make install
    https://github.com/phpv8/v8js/blob/php7/README.Linux.md

    0 个评论

    要回复文章请先登录注册

  • 坚守岗位守护绿城美丽与整洁 2018-12-05