mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1204692 - Add arm64-sim variant to the autospider.sh script. r=sstangl
Build with --enable-sim=arm64. Don't run any tests beyond "make check". The ARM64 JIT is not yet up to it.
This commit is contained in:
parent
a907dde1d9
commit
ed98cb4ae3
@ -15,7 +15,8 @@ function usage() {
|
||||
|
||||
clean=1
|
||||
platform=""
|
||||
TIMEOUT=3h
|
||||
# 3 hours. OS X doesn't support the "sleep 3h" syntax.
|
||||
TIMEOUT=10800
|
||||
while [ $# -gt 1 ]; do
|
||||
case "$1" in
|
||||
--dep)
|
||||
@ -91,6 +92,8 @@ elif [ "$OSTYPE" = "linux-gnu" ]; then
|
||||
MAKEFLAGS=-j4
|
||||
if [ "$VARIANT" = "arm-sim" ]; then
|
||||
USE_64BIT=false
|
||||
elif [ "$VARIANT" = "arm64-sim" ]; then
|
||||
USE_64BIT=true
|
||||
else
|
||||
case "$platform" in
|
||||
linux64)
|
||||
@ -168,6 +171,8 @@ if type setarch >/dev/null 2>&1; then
|
||||
fi
|
||||
|
||||
RUN_JSTESTS=true
|
||||
RUN_JITTEST=true
|
||||
RUN_JSAPITESTS=true
|
||||
|
||||
PARENT=$$
|
||||
|
||||
@ -206,11 +211,21 @@ elif [[ "$VARIANT" = "warnaserr" ||
|
||||
elif [[ "$VARIANT" = "arm-sim" ||
|
||||
"$VARIANT" = "plaindebug" ]]; then
|
||||
export JSTESTS_EXTRA_ARGS=--jitflags=debug
|
||||
elif [[ "$VARIANT" = arm64* ]]; then
|
||||
# The ARM64 JIT is not yet fully functional, and asm.js does not work.
|
||||
# Just run "make check". We mostly care about not breaking the build at this point.
|
||||
RUN_JITTEST=false
|
||||
RUN_JSAPITESTS=false
|
||||
RUN_JSTESTS=false
|
||||
fi
|
||||
|
||||
$COMMAND_PREFIX $MAKE check || exit 1
|
||||
$COMMAND_PREFIX $MAKE check-jit-test || exit 1
|
||||
$COMMAND_PREFIX $OBJDIR/dist/bin/jsapi-tests || exit 1
|
||||
if $RUN_JITTEST; then
|
||||
$COMMAND_PREFIX $MAKE check-jit-test || exit 1
|
||||
fi
|
||||
if $RUN_JSAPITESTS; then
|
||||
$COMMAND_PREFIX $OBJDIR/dist/bin/jsapi-tests || exit 1
|
||||
fi
|
||||
if $RUN_JSTESTS; then
|
||||
$COMMAND_PREFIX $MAKE check-jstests || exit 1
|
||||
fi
|
||||
|
5
js/src/devtools/automation/variants/arm64-sim
Normal file
5
js/src/devtools/automation/variants/arm64-sim
Normal file
@ -0,0 +1,5 @@
|
||||
--enable-optimize
|
||||
--enable-debug
|
||||
--enable-stdcxx-compat
|
||||
--disable-shared-js
|
||||
--enable-simulator=arm64
|
Loading…
Reference in New Issue
Block a user