Changeset View
Changeset View
Standalone View
Standalone View
libraries/source/spidermonkey/build.sh
Show All 34 Lines | |||||
# Jitspew doesn't compile on VS17 in the zydis disassembler - since we don't use it, deactivate it. | # Jitspew doesn't compile on VS17 in the zydis disassembler - since we don't use it, deactivate it. | ||||
CONF_OPTS="--disable-tests | CONF_OPTS="--disable-tests | ||||
--disable-jemalloc | --disable-jemalloc | ||||
--disable-js-shell | --disable-js-shell | ||||
--without-intl-api | --without-intl-api | ||||
--enable-shared-js | --enable-shared-js | ||||
--disable-jitspew" | --disable-jitspew" | ||||
# unfortunately, spidermonkey doesn't have jit support on riscv yet | |||||
if [ $(gcc -dumpmachine | sed "s/\([^-]*\).*$/\1/") = "riscv64" ]; | |||||
then | |||||
CONF_OPTS="${CONF_OPTS} | |||||
--disable-jit" | |||||
fi | |||||
if [ "${OS}" = "Windows_NT" ] | if [ "${OS}" = "Windows_NT" ] | ||||
then | then | ||||
CONF_OPTS="${CONF_OPTS} --with-visual-studio-version=2017 --target=i686" | CONF_OPTS="${CONF_OPTS} --with-visual-studio-version=2017 --target=i686" | ||||
else | else | ||||
CONF_OPTS="${CONF_OPTS}" | CONF_OPTS="${CONF_OPTS}" | ||||
fi | fi | ||||
if [ "`uname -s`" = "Darwin" ] | if [ "`uname -s`" = "Darwin" ] | ||||
▲ Show 20 Lines • Show All 188 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator