Sha256: 5adc2e7e869d1744152998483670d75d2a5774f15f7e54b742130bb341860b8e
Contents?: true
Size: 1.18 KB
Versions: 9
Compression:
Stored size: 1.18 KB
Contents
#!/bin/sh set -e set -u libexec="$(cd "$(dirname "$0")"; pwd)" top="${libexec}/.." src="${2:-"${top}/src"}" version="${1:-$("${libexec}/metadata" node_version)}" extract() { dir="${1}" file="${2}" platform=$(uname) case "${platform}" in SunOS) TAR="${TAR:-gtar}" ;; *) TAR="${TAR:-tar}" ;; esac "${TAR}" -C "${dir}" -xz -f "${file}" } extract "${src}" "${src}/node-v${version}.tar.gz" cd "${src}/node-v${version}" #patch -p1 < "${top}"/patch/gyp-libv8_monolith.patch patch -p1 < "${top}"/patch/py2-icutrim.patch patch -p1 < "${top}"/patch/py2-genv8constants.patch # TODO: the following still fails on py3 so the above one forcing py2 is needed # patch -p1 < ../../py3-genv8constants.patch # # This is the error: # # Traceback (most recent call last): # File "tools/genv8constants.py", line 99, in <module> # curr_val += int('0x%s' % octetstr, 16) << (curr_octet * 8) # ValueError: invalid literal for int() with base 16: "0xb'04 '" # node_dtrace_ustack.target.mk:13: recipe for target '/usbkey/user_home/vagrant/ruby-libv8-node/src/node-14.14.0/out/Release/obj/gen/v8constants.h' failed
Version data entries
9 entries across 9 versions & 1 rubygems