Sha256: f28af21084b84f6c50bea56e5f404f8639520c340c7dc23195eeaf48a6d13475
Contents?: true
Size: 1.3 KB
Versions: 14
Compression:
Stored size: 1.3 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)}" cd "${src}/node-v${version}" BASEDIR="${PWD}" BUILDTYPE="${BUILDTYPE:-Release}" LIBV8_MONOLITH="libv8_monolith.a" cd "out/${BUILDTYPE}/obj.target" platform=$(uname) rm -f "${LIBV8_MONOLITH}" case "${platform}" in "SunOS") /usr/xpg4/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}" ;; "Darwin") /usr/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}" ;; "Linux") find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -and '(' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" ')' | sort | uniq | xargs ar -cqSP "${LIBV8_MONOLITH}" ar -sP "${LIBV8_MONOLITH}" ;; *) echo "Unsupported platform: ${platform}" exit 1 ;; esac mv -f "${LIBV8_MONOLITH}" "${BASEDIR}/out/${BUILDTYPE}/${LIBV8_MONOLITH}"
Version data entries
14 entries across 14 versions & 1 rubygems