summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Berndt <ronny@apache.org>2023-01-04 13:45:03 +0100
committerJan Lehnardt <jan@apache.org>2023-01-11 10:42:21 +0100
commit9a92fbbe3130127703db004614d836348e13ad16 (patch)
tree5428d98f563d8167faea6aeb7cd7b658d78bd58f
parentb5693fd7e932c0490d6c47e49138cc90b56fb302 (diff)
downloadcouchdb-9a92fbbe3130127703db004614d836348e13ad16.tar.gz
Remove Spidermonkey 1.8.5
Removes the old Spidermonkey 1.8.5 source code. Spidermonkey 91 is set as the new default version.
-rwxr-xr-xconfigure2
-rw-r--r--configure.ps14
-rw-r--r--src/couch/rebar.config.script4
3 files changed, 5 insertions, 5 deletions
diff --git a/configure b/configure
index 79377ea1a..7c9fb56a3 100755
--- a/configure
+++ b/configure
@@ -31,7 +31,7 @@ ERLANG_MD5="false"
SKIP_DEPS=0
COUCHDB_USER="$(whoami 2>/dev/null || echo couchdb)"
-SM_VSN=${SM_VSN:-"1.8.5"}
+SM_VSN=${SM_VSN:-"91"}
ARCH="$(uname -m)"
ERLANG_VER="$(erl -eval 'io:put_chars(erlang:system_info(otp_release)), halt().' -noshell)"
diff --git a/configure.ps1 b/configure.ps1
index 626a22545..ad08f80f4 100644
--- a/configure.ps1
+++ b/configure.ps1
@@ -9,7 +9,7 @@
-DisableDocs request build process skip building documentation (default false)
-SkipDeps do not update Erlang dependencies (default false)
-CouchDBUser USER set the username to run as (defaults to current user)
- -SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (defaults to 1.8.5)
+ -SpiderMonkeyVersion VSN select the version of SpiderMonkey to use (default 91)
Installation directories:
-Prefix PREFIX install architecture-independent files in PREFIX
@@ -48,7 +48,7 @@ Param(
[ValidateNotNullOrEmpty()]
[string]$CouchDBUser = [Environment]::UserName, # set the username to run as (defaults to current user)
[ValidateNotNullOrEmpty()]
- [string]$SpiderMonkeyVersion = "1.8.5", # select the version of SpiderMonkey to use (default 1.8.5)
+ [string]$SpiderMonkeyVersion = "91", # select the version of SpiderMonkey to use (default 91)
[ValidateNotNullOrEmpty()]
[string]$Prefix = "C:\Program Files\Apache\CouchDB", # install architecture-independent file location (default C:\Program Files\Apache\CouchDB)
[ValidateNotNullOrEmpty()]
diff --git a/src/couch/rebar.config.script b/src/couch/rebar.config.script
index f0b465135..2769de841 100644
--- a/src/couch/rebar.config.script
+++ b/src/couch/rebar.config.script
@@ -70,12 +70,12 @@ SMVsn = case lists:keyfind(spidermonkey_version, 1, CouchConfig) of
{_, "91"} ->
"91";
undefined ->
- "1.8.5";
+ "91";
{_, Unsupported} ->
io:format(standard_error, "Unsupported SpiderMonkey version: ~s~n", [Unsupported]),
erlang:halt(1);
false ->
- "1.8.5"
+ "91"
end.
ConfigH = [