summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoan Touzet <wohali@users.noreply.github.com>2020-01-16 14:15:09 -0500
committerGitHub <noreply@github.com>2020-01-16 14:15:09 -0500
commit355803ea11799cc18f69fd48346184a2625e172a (patch)
tree5a596a621a31383864f8b926eda527ed819854f9 /configure
parentd7188ba8dea81739e8535b92ede1c6613bb598f8 (diff)
downloadcouchdb-355803ea11799cc18f69fd48346184a2625e172a.tar.gz
Explicitly disallow SM60 on aarch64
Includes configure changes and Jenkins setting change.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 2d1887ebb..38e62e317 100755
--- a/configure
+++ b/configure
@@ -31,6 +31,7 @@ SKIP_DEPS=0
COUCHDB_USER="$(whoami 2>/dev/null || echo couchdb)"
SM_VSN="1.8.5"
+ARCH="$(uname -m)"
. ${rootdir}/version.mk
COUCHDB_VERSION=${vsn_major}.${vsn_minor}.${vsn_patch}
@@ -177,6 +178,12 @@ parse_opts() {
parse_opts $@
+if [ "${ARCH}" = "aarch64" ] && [ "${SM_VSN}" != "1.8.5" ]
+then
+ echo "ERROR: SpiderMonkey 60 is known broken on ARM 64 (aarch64). Use 1.8.5 instead."
+ exit 1
+fi
+
echo "==> configuring couchdb in rel/couchdb.config"
cat > rel/couchdb.config << EOF
% Licensed under the Apache License, Version 2.0 (the "License"); you may not